summaryrefslogtreecommitdiff
path: root/tools
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
parentc7428d49ace4f2f16174ca028fe7072c02a473c8 (diff)
downloadu-boot-imx-3bb6680655a262251261fc8497f53436844ea475.zip
u-boot-imx-3bb6680655a262251261fc8497f53436844ea475.tar.gz
u-boot-imx-3bb6680655a262251261fc8497f53436844ea475.tar.bz2
Fix mkimage bug with multifile images created on 64 bit systems.
Diffstat (limited to 'tools')
-rw-r--r--tools/mkimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mkimage.c b/tools/mkimage.c
index fbc1a12..70452db 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;