summaryrefslogtreecommitdiff
path: root/usr.bin/ypwhich
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-23 01:03:58 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-23 01:03:58 +0000
commite355b33d38186006c15920ec75208babb284749e (patch)
tree46d47735ad96ecbc3f7c8b5ee57ab6f58dbf7df7 /usr.bin/ypwhich
parenta8323c26c7a6496723803d0489d8abe8f833b047 (diff)
long != int error
Diffstat (limited to 'usr.bin/ypwhich')
-rw-r--r--usr.bin/ypwhich/ypwhich.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ypwhich/ypwhich.c b/usr.bin/ypwhich/ypwhich.c
index 75effeae7ae..ed781febe38 100644
--- a/usr.bin/ypwhich/ypwhich.c
+++ b/usr.bin/ypwhich/ypwhich.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypwhich.c,v 1.6 1997/04/22 02:55:42 gene Exp $
+/* $OpenBSD: ypwhich.c,v 1.7 1997/06/23 01:03:57 deraadt Exp $
/* $NetBSD: ypwhich.c,v 1.6 1996/05/13 02:43:48 thorpej Exp $ */
/*
@@ -34,7 +34,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$Id: ypwhich.c,v 1.6 1997/04/22 02:55:42 gene Exp $";
+static char rcsid[] = "$Id: ypwhich.c,v 1.7 1997/06/23 01:03:57 deraadt Exp $";
#endif
#include <sys/param.h>
@@ -84,7 +84,7 @@ struct sockaddr_in *sin;
struct timeval tv;
CLIENT *client;
int sock, r;
- u_long ss_addr;
+ u_int32_t ss_addr;
sock = RPC_ANYSOCK;
tv.tv_sec = 15;