Selaa lähdekoodia

Fix mkimage bug with multifile images created on 64 bit systems.

Wolfgang Denk 19 vuotta sitten
vanhempi
commit
3bb6680655
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      tools/mkimage.c

+ 1 - 1
tools/mkimage.c

@@ -383,7 +383,7 @@ NXTARG:		;
 
 
 	if (opt_type == IH_TYPE_MULTI || opt_type == IH_TYPE_SCRIPT) {
 	if (opt_type == IH_TYPE_MULTI || opt_type == IH_TYPE_SCRIPT) {
 		char *file = datafile;
 		char *file = datafile;
-		unsigned long size;
+		uint32_t size;
 
 
 		for (;;) {
 		for (;;) {
 			char *sep = NULL;
 			char *sep = NULL;