svn commit: r255122 - head/tools/tools/bus_autoconf

Ian Lepore ian at FreeBSD.org
Sun Sep 1 14:06:57 UTC 2013


Author: ian
Date: Sun Sep  1 14:06:57 2013
New Revision: 255122
URL: http://svnweb.freebsd.org/changeset/base/255122

Log:
  Fix a compiler warning about signed vs unsigned compare.

Modified:
  head/tools/tools/bus_autoconf/bus_load_file.c

Modified: head/tools/tools/bus_autoconf/bus_load_file.c
==============================================================================
--- head/tools/tools/bus_autoconf/bus_load_file.c	Sun Sep  1 13:33:05 2013	(r255121)
+++ head/tools/tools/bus_autoconf/bus_load_file.c	Sun Sep  1 14:06:57 2013	(r255122)
@@ -39,7 +39,7 @@ void
 load_file(const char *fname, uint8_t **pptr, uint32_t *plen)
 {
 	uint8_t *ptr;
-	uint32_t len;
+	ssize_t len;
 	off_t off;
 	int f;
 


More information about the svn-src-head mailing list