summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoretheisen <etheisen@cvs.openbsd.org>1996-11-14 06:51:49 +0000
committeretheisen <etheisen@cvs.openbsd.org>1996-11-14 06:51:49 +0000
commit78e27c8f64cb1a7e181e37be3190a880736e16d4 (patch)
treecb7b636f16bc5044d733bb759820e80cce8014ac
parentfc1a87209da8f42c3897fcdd5f37ff109d8dd308 (diff)
Missed one cast.
-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) {