Bug 1013: Fix type mismatches in gopher.c