diff options
author | 1996-11-14 06:17:36 +0000 | |
---|---|---|
committer | 1996-11-14 06:17:36 +0000 | |
commit | 270dbc0f07978e40864eeb9979725bcadb2a145f (patch) | |
tree | 3667bf07e7f343ed7a434c4e63cc44292a9a542c /lib/libc | |
parent | memcpy needs proto from string.h. (diff) | |
download | wireguard-openbsd-270dbc0f07978e40864eeb9979725bcadb2a145f.tar.xz wireguard-openbsd-270dbc0f07978e40864eeb9979725bcadb2a145f.zip |
Cast better for the alpha.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/rpc/clnt_tcp.c | 4 |
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) { |