From 6bb9ca8bc7f31cda36ea29da914b287bbe39e2c6 Mon Sep 17 00:00:00 2001 From: zml Date: Thu, 28 May 2009 15:02:44 +0000 Subject: Match type for socket option (in practice, unnecessary, but stylistically it's a little nicer). Suggested by: jilles Approved by: dfr (mentor) --- lib/libc/rpc/svc_generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc') diff --git a/lib/libc/rpc/svc_generic.c b/lib/libc/rpc/svc_generic.c index 574994d..9b50b44 100644 --- a/lib/libc/rpc/svc_generic.c +++ b/lib/libc/rpc/svc_generic.c @@ -199,7 +199,7 @@ svc_tli_create(fd, nconf, bindaddr, sendsz, recvsz) struct __rpc_sockinfo si; struct sockaddr_storage ss; socklen_t slen; - static const uint32_t true_value = 1; + static const int true_value = 1; if (fd == RPC_ANYFD) { if (nconf == NULL) { -- cgit v1.1