diff options
author | 1997-06-23 01:11:12 +0000 | |
---|---|---|
committer | 1997-06-23 01:11:12 +0000 | |
commit | a1e9ab52d500485d65753bcf6bccefe4fe55babb (patch) | |
tree | 33053cc7b6c403a8c85f22ce9fda9472d9f143a7 /usr.sbin/ypserv/common/yplib_host.c | |
parent | long != int error (diff) | |
download | wireguard-openbsd-a1e9ab52d500485d65753bcf6bccefe4fe55babb.tar.xz wireguard-openbsd-a1e9ab52d500485d65753bcf6bccefe4fe55babb.zip |
long != int
Diffstat (limited to 'usr.sbin/ypserv/common/yplib_host.c')
-rw-r--r-- | usr.sbin/ypserv/common/yplib_host.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ypserv/common/yplib_host.c b/usr.sbin/ypserv/common/yplib_host.c index 7989643d132..0672eb0a4bb 100644 --- a/usr.sbin/ypserv/common/yplib_host.c +++ b/usr.sbin/ypserv/common/yplib_host.c @@ -1,4 +1,4 @@ -/* $OpenBSD: yplib_host.c,v 1.6 1997/05/01 22:14:44 niklas Exp $ */ +/* $OpenBSD: yplib_host.c,v 1.7 1997/06/23 01:11:12 deraadt Exp $ */ /* * Copyright (c) 1992, 1993 Theo de Raadt <deraadt@theos.com> @@ -32,7 +32,7 @@ */ #ifndef LINT -static char *rcsid = "$OpenBSD: yplib_host.c,v 1.6 1997/05/01 22:14:44 niklas Exp $"; +static char *rcsid = "$OpenBSD: yplib_host.c,v 1.7 1997/06/23 01:11:12 deraadt Exp $"; #endif #include <sys/param.h> @@ -99,7 +99,7 @@ int usetcp; server); exit(1); } - 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; |