diff options
-rw-r--r-- | util/cbfstool/fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbfstool/fs.c b/util/cbfstool/fs.c index f617159563..a3a1cc1d3b 100644 --- a/util/cbfstool/fs.c +++ b/util/cbfstool/fs.c @@ -99,7 +99,7 @@ struct cbfs_file * rom_alloc(struct rom *rom, const char *name, unsigned long si { /* walk the rom and find an empty file with a base > base, and a large enough size */ unsigned int offset = ntohl(rom->header->offset); - unsigned int ret = -1; + int ret = -1; struct cbfs_file *c = NULL; unsigned long nextoffset, truncoffset; struct cbfs_file *newfile = NULL; |