summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoretheisen <etheisen@cvs.openbsd.org>1996-11-14 06:17:37 +0000
committeretheisen <etheisen@cvs.openbsd.org>1996-11-14 06:17:37 +0000
commit7bd1b886f78c8d54df83467c4cccc2e806b36bb6 (patch)
tree48786baa2c8a3aec144308c8fdbc6beb3c2e335b
parent2385180027ae8b6f50e66186857248f392f90e2d (diff)
Cast better for the alpha.
-rw-r--r--lib/libc/rpc/clnt_tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/rpc/clnt_tcp.c b/lib/libc/rpc/clnt_tcp.c
index a2239061dcf..694ebeb7f53 100644
--- a/lib/libc/rpc/clnt_tcp.c
+++ b/lib/libc/rpc/clnt_tcp.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: clnt_tcp.c,v 1.9 1996/09/15 09:31:34 tholo Exp $";
+static char *rcsid = "$OpenBSD: clnt_tcp.c,v 1.10 1996/11/14 06:17:36 etheisen Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -122,7 +122,7 @@ clnttcp_create(raddr, prog, vers, sockp, sendsz, recvsz)
static u_int32_t disrupt;
if (disrupt == 0)
- disrupt = (u_int32_t)raddr;
+ disrupt = (u_int32_t)(long)raddr;
h = (CLIENT *)mem_alloc(sizeof(*h));
if (h == NULL) {