summaryrefslogtreecommitdiff
path: root/util/cbfstool/resize.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/cbfstool/resize.c')
-rw-r--r--util/cbfstool/resize.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/cbfstool/resize.c b/util/cbfstool/resize.c
index 157515619c..d70c6d04ef 100644
--- a/util/cbfstool/resize.c
+++ b/util/cbfstool/resize.c
@@ -32,7 +32,8 @@ void resize_usage(void)
int resize_handler(struct rom *rom, int argc, char **argv)
{
- unsigned int size, align, offset;
+ unsigned int align, offset;
+ int size;
char null = '\0';
int bootblocksize = ntohl(rom->header->bootblocksize);