]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - tools/mkimage.c
* Fix startup problems with VFD display on TRAB
[karo-tx-uboot.git] / tools / mkimage.c
index 0f99f3b4ac0cb2adbb7545361699b7913569d12c..095880e6af06f36d63ee12309a4862b16b01db8f 100644 (file)
@@ -250,8 +250,9 @@ NXTARG:             ;
         */
        if (xflag) {
                if (ep != addr + sizeof(image_header_t)) {
-                       fprintf (stderr, "%s: For XIP, the entry point must be the load addr + %d\n",
-                               cmdname, sizeof(image_header_t));
+                       fprintf (stderr, "%s: For XIP, the entry point must be the load addr + %lu\n",
+                               cmdname,
+                               (unsigned long)sizeof(image_header_t));
                        exit (EXIT_FAILURE);
                }
        }