diff options
author | Andreas Bießmann <biessmann@corscience.de> | 2011-12-15 09:56:53 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-12-17 23:55:36 +0100 |
commit | a97f6efdb1b4281d9e733a7b73735c5ed2e5cfcb (patch) | |
tree | 14fa6ae66dc03ba33f35480594ef1d116dbed6f8 /common/env_nand.c | |
parent | 068af6f843844319dc4d5c76020d311a69000482 (diff) | |
download | u-boot-imx-a97f6efdb1b4281d9e733a7b73735c5ed2e5cfcb.zip u-boot-imx-a97f6efdb1b4281d9e733a7b73735c5ed2e5cfcb.tar.gz u-boot-imx-a97f6efdb1b4281d9e733a7b73735c5ed2e5cfcb.tar.bz2 |
cmd_sf.c: fix printf() length modifier
size_t is not always 'unsigned int', use corret length modifer.
This patch fixes following warning:
---8<---
cmd_sf.c: In function 'spi_flash_update_block':
cmd_sf.c:130: warning: format '%#x' expects type 'unsigend int', but argument 4 has type 'size_t'
cmd_sf.c:135: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'size_t'
--->8---
Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
cc: Mike Frysinger <vapier@gentoo.org>
cc: Thomas Chou <thomas@wytron.com.tw>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common/env_nand.c')
0 files changed, 0 insertions, 0 deletions