summaryrefslogtreecommitdiff
path: root/tools/mkimage.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.(none)>2006-01-11 13:03:54 +0100
committerWolfgang Denk <wd@pollux.(none)>2006-01-11 13:03:54 +0100
commit3bb6680655a262251261fc8497f53436844ea475 (patch)
tree132c28205e368e4a37a3fe38293cae6a5d4fa90b /tools/mkimage.c
parentc7428d49ace4f2f16174ca028fe7072c02a473c8 (diff)
Fix mkimage bug with multifile images created on 64 bit systems.
Diffstat (limited to 'tools/mkimage.c')
-rw-r--r--tools/mkimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mkimage.c b/tools/mkimage.c
index fbc1a12549c..70452db1c08 100644
--- a/tools/mkimage.c
+++ b/tools/mkimage.c
@@ -383,7 +383,7 @@ NXTARG: ;
if (opt_type == IH_TYPE_MULTI || opt_type == IH_TYPE_SCRIPT) {
char *file = datafile;
- unsigned long size;
+ uint32_t size;
for (;;) {
char *sep = NULL;