diff options
author | 1997-06-23 01:03:57 +0000 | |
---|---|---|
committer | 1997-06-23 01:03:57 +0000 | |
commit | d2605cb21962eb0c7300d8ccfe72efe85260c8f7 (patch) | |
tree | d8c9f1c8f4a7ce1e5936f507629970e881ccdf67 | |
parent | i386 sync (diff) | |
download | wireguard-openbsd-d2605cb21962eb0c7300d8ccfe72efe85260c8f7.tar.xz wireguard-openbsd-d2605cb21962eb0c7300d8ccfe72efe85260c8f7.zip |
long != int error
-rw-r--r-- | usr.bin/ypwhich/ypwhich.c | 6 | ||||
-rw-r--r-- | usr.sbin/yppoll/yppoll.c | 6 |
2 files changed, 6 insertions, 6 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; diff --git a/usr.sbin/yppoll/yppoll.c b/usr.sbin/yppoll/yppoll.c index ce2c8b26eea..6d0cbbc8848 100644 --- a/usr.sbin/yppoll/yppoll.c +++ b/usr.sbin/yppoll/yppoll.c @@ -1,4 +1,4 @@ -/* $OpenBSD: yppoll.c,v 1.2 1996/05/22 12:13:00 deraadt Exp $ */ +/* $OpenBSD: yppoll.c,v 1.3 1997/06/23 01:05:10 deraadt Exp $ */ /* $NetBSD: yppoll.c,v 1.5 1996/05/13 02:46:36 thorpej Exp $ */ /* @@ -36,7 +36,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: yppoll.c,v 1.2 1996/05/22 12:13:00 deraadt Exp $"; +static char rcsid[] = "$Id: yppoll.c,v 1.3 1997/06/23 01:05:10 deraadt Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -93,7 +93,7 @@ get_remote_info(indomain, inmap, server, outorder, outname) exit(1); } } else { - rsrv_sin.sin_addr.s_addr = *(u_long *)h->h_addr; + rsrv_sin.sin_addr.s_addr = *(u_int32_t *)h->h_addr; } tv.tv_sec = 10; |