summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authoretheisen <etheisen@openbsd.org>1996-11-14 06:51:48 +0000
committeretheisen <etheisen@openbsd.org>1996-11-14 06:51:48 +0000
commit520912529688b2fadd3e5bb819c3266a67d4e70b (patch)
tree0e7c91197d165445772094f0b9b1e1d39ee1dc2b /lib/libc
parentmemcpy needs string.h. (diff)
downloadwireguard-openbsd-520912529688b2fadd3e5bb819c3266a67d4e70b.tar.xz
wireguard-openbsd-520912529688b2fadd3e5bb819c3266a67d4e70b.zip
Missed one cast.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/rpc/clnt_udp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/rpc/clnt_udp.c b/lib/libc/rpc/clnt_udp.c
index 1d49f4a6d3d..796c9bf523a 100644
--- a/lib/libc/rpc/clnt_udp.c
+++ b/lib/libc/rpc/clnt_udp.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: clnt_udp.c,v 1.8 1996/09/02 05:01:12 deraadt Exp $";
+static char *rcsid = "$OpenBSD: clnt_udp.c,v 1.9 1996/11/14 06:51:48 etheisen Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -118,7 +118,7 @@ clntudp_bufcreate(raddr, program, version, wait, sockp, sendsz, recvsz)
static u_int32_t disrupt;
if (disrupt == 0)
- disrupt = (u_int32_t)raddr;
+ disrupt = (u_int32_t)(long)raddr;
cl = (CLIENT *)mem_alloc(sizeof(CLIENT));
if (cl == NULL) {