]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Fix mkimage bug with multifile images created on 64 bit systems.
authorWolfgang Denk <wd@pollux.(none)>
Wed, 11 Jan 2006 12:03:54 +0000 (13:03 +0100)
committerWolfgang Denk <wd@pollux.(none)>
Wed, 11 Jan 2006 12:03:54 +0000 (13:03 +0100)
tools/mkimage.c

index fbc1a12549c06b446bb6bc085de7940188a334e6..70452db1c086c1f20d4cd236e671473c29c516e2 100644 (file)
@@ -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;