summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-03-27 19:43:26 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-03-27 19:43:26 +0000
commitcd2c46c7e049680d1ef5a8f35d18d566833adfc6 (patch)
tree01791e2fbe602c674a70f2a90d904c2f7a1b0065 /lib/libc
parent188ae69b90f24509dd394785afbfb81ab0e286df (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/rpc/svc_simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/rpc/svc_simple.c b/lib/libc/rpc/svc_simple.c
index 942d07e8c2505..2e98c6a6a7f3e 100644
--- a/lib/libc/rpc/svc_simple.c
+++ b/lib/libc/rpc/svc_simple.c
@@ -272,7 +272,7 @@ universal(rqstp, transp)
/* decode arguments into a CLEAN buffer */
xdrbuf = pl->p_xdrbuf;
/* Zero the arguments: reqd ! */
- (void) memset(xdrbuf, 0, sizeof (pl->p_recvsz));
+ (void) memset(xdrbuf, 0, (size_t)pl->p_recvsz);
/*
* Assuming that sizeof (xdrbuf) would be enough
* for the arguments; if not then the program