From 173238e12a128fa398da9a8f845833caab830bb3 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Thu, 23 Jun 1988 07:11:25 +0000 Subject: use a u_short, since that's what ports are really. --- lib/ZGetWGPort.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/ZGetWGPort.c') diff --git a/lib/ZGetWGPort.c b/lib/ZGetWGPort.c index c2d28e8..cdd1f45 100644 --- a/lib/ZGetWGPort.c +++ b/lib/ZGetWGPort.c @@ -23,11 +23,11 @@ static char rcsid_ZGetWGPort_c[] = "$Header$"; extern char *getenv(); extern uid_t getuid(); -int ZGetWGPort() +u_short ZGetWGPort() { char *envptr, name[128]; FILE *fp; - int wgport; + u_short wgport; envptr = getenv("WGFILE"); if (!envptr) { -- cgit v1.2.3