summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2013-09-01 14:06:57 +0000
committerian <ian@FreeBSD.org>2013-09-01 14:06:57 +0000
commit5d304e5a6bc0cc4ca3bdd0dba9bbc031f86a6645 (patch)
treedc3219c3bcf1358b2057cc991fcf255b99927595 /tools
parente56875d5c503472f354a46c980d618505f5b8041 (diff)
downloadFreeBSD-src-5d304e5a6bc0cc4ca3bdd0dba9bbc031f86a6645.zip
FreeBSD-src-5d304e5a6bc0cc4ca3bdd0dba9bbc031f86a6645.tar.gz
Fix a compiler warning about signed vs unsigned compare.
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/bus_autoconf/bus_load_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tools/bus_autoconf/bus_load_file.c b/tools/tools/bus_autoconf/bus_load_file.c
index 527e5bc..8d82ac3 100644
--- a/tools/tools/bus_autoconf/bus_load_file.c
+++ b/tools/tools/bus_autoconf/bus_load_file.c
@@ -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;
OpenPOWER on IntegriCloud