diff options
author | John Kohl <jtkohl@mit.edu> | 1988-06-23 07:14:42 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1988-06-23 07:14:42 +0000 |
commit | b4d8c3421243744440883f168980e3af56373a3b (patch) | |
tree | 1e2fc26f710fc9e09f4a82ddffa6aeecec8b0372 /lib | |
parent | 94d11263ffa832cb6ef1e32b4051a5df80cf139e (diff) |
should be a signed short, not unsigned
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ZGetWGPort.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ZGetWGPort.c b/lib/ZGetWGPort.c index cdd1f45..a7c623c 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(); -u_short ZGetWGPort() +short ZGetWGPort() { char *envptr, name[128]; FILE *fp; - u_short wgport; + short wgport; envptr = getenv("WGFILE"); if (!envptr) { |