summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-23 01:05:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-23 01:05:11 +0000
commitb18f2a7c66202fd985398cae0cd2b5c61592633b (patch)
treec07221be6b3f45c2a816ff7d5294e76b2d54f11f /usr.sbin
parente355b33d38186006c15920ec75208babb284749e (diff)
long != int error
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/yppoll/yppoll.c6
1 files changed, 3 insertions, 3 deletions
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;