]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_yaffs2.c
board/w7o/flash.c: Fix GCC 4.6 compile warning
[karo-tx-uboot.git] / common / cmd_yaffs2.c
index 7c01ea2a2517ceb540de559e5de9dec046839e9d..0e22d90e7a0b392d46f556e2c90aff639c730c6d 100644 (file)
@@ -66,7 +66,7 @@ int do_ywr (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
     ulong value = simple_strtoul(argv[2], NULL, 16);
     ulong numValues = simple_strtoul(argv[3], NULL, 16);
 
-    printf ("Writing value (%x) %x times to %s... ", value, numValues, filename);
+    printf ("Writing value (%lx) %lx times to %s... ", value, numValues, filename);
 
     cmd_yaffs_write_file(filename,value,numValues);