From: Wolfgang Denk Date: Wed, 11 Jan 2006 12:03:54 +0000 (+0100) Subject: Fix mkimage bug with multifile images created on 64 bit systems. X-Git-Tag: LABEL_2006_03_12_0025~48 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3bb6680655a262251261fc8497f53436844ea475;p=oweals%2Fu-boot.git Fix mkimage bug with multifile images created on 64 bit systems. --- diff --git a/tools/mkimage.c b/tools/mkimage.c index fbc1a12549..70452db1c0 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;