diff options
author | Josh Boyer <jwboyer@gmail.com> | 2007-02-12 20:41:17 -0600 |
---|---|---|
committer | Josh Boyer <jwboyer@gmail.com> | 2007-02-12 20:41:17 -0600 |
commit | 9fe86e65fb6bd77a02955d07d6f336ace4984e2d (patch) | |
tree | c0eaa1ed72b8e39bcefe419c481618eb8b5d5b1f /ubi-utils/src/nand2bin.c | |
parent | 5327be2927984d4ba365c76a5f4b22839f6e680b (diff) |
Fix several issues when compiling for 64bit systems
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
Diffstat (limited to 'ubi-utils/src/nand2bin.c')
-rw-r--r-- | ubi-utils/src/nand2bin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ubi-utils/src/nand2bin.c b/ubi-utils/src/nand2bin.c index 636ee6f..b8e4ea3 100644 --- a/ubi-utils/src/nand2bin.c +++ b/ubi-utils/src/nand2bin.c @@ -203,7 +203,7 @@ process_page(uint8_t* buf, uint8_t *oobbuf, size_t pagesize) case 2048: oobsize = 64; eccpoi = 64 / 2; break; case 512: oobsize = 16; eccpoi = 16 / 2; break; default: - fprintf(stderr, "Unsupported page size: %d\n", pagesize); + fprintf(stderr, "Unsupported page size: %zd\n", pagesize); return -EINVAL; } memset(oobbuf, 0xff, oobsize); |