svn commit: r287353 - head/lib/libc/rpc

Craig Rodrigues rodrigc at FreeBSD.org
Tue Sep 1 09:22:25 UTC 2015


Author: rodrigc
Date: Tue Sep  1 09:22:24 2015
New Revision: 287353
URL: https://svnweb.freebsd.org/changeset/base/287353

Log:
  Use unsigned variable.
  
  Eliminates gcc 4.9 compiler warning.

Modified:
  head/lib/libc/rpc/clnt_bcast.c

Modified: head/lib/libc/rpc/clnt_bcast.c
==============================================================================
--- head/lib/libc/rpc/clnt_bcast.c	Tue Sep  1 09:09:49 2015	(r287352)
+++ head/lib/libc/rpc/clnt_bcast.c	Tue Sep  1 09:22:24 2015	(r287353)
@@ -251,7 +251,7 @@ rpc_broadcast_exp(prog, vers, proc, xarg
 	int		inlen;
 	u_int 		maxbufsize = 0;
 	AUTH 		*sys_auth = authunix_create_default();
-	int		i;
+	u_int		i;
 	void		*handle;
 	char		uaddress[1024];	/* A self imposed limit */
 	char		*uaddrp = uaddress;


More information about the svn-src-head mailing list