Commit d667090999236ddbf8bbbc98dc576bf301db59d0

Authored by Heinrich Schuchardt
Committed by Tom Rini
1 parent 9ae2ddc82e

cmd: zip: use correct format code

dst_len is defined as unsigned long. So use %lu for printf().

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -28,7 +28,7 @@
28 28 if (gzip((void *) dst, &dst_len, (void *) src, src_len) != 0)
29 29 return 1;
30 30  
31   - printf("Compressed size: %ld = 0x%lX\n", dst_len, dst_len);
  31 + printf("Compressed size: %lu = 0x%lX\n", dst_len, dst_len);
32 32 env_set_hex("filesize", dst_len);
33 33  
34 34 return 0;