]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
fix compile warning for env tools
authorLuka Perkov <lists@lukaperkov.net>
Mon, 5 Sep 2011 21:40:13 +0000 (23:40 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 21 Oct 2011 22:16:29 +0000 (00:16 +0200)
commit8603b69b8b04e3e34f8744b396c62833b78fd7c1
tree8c3b5426dd69522e5109a904c5f4ae06267ec18c
parenta2da616311151ecfab8b8fcc510686fc3c0c9a21
fix compile warning for env tools

Patch fixes this issue:

fw_env.c: In function ‘fw_setenv’:
fw_env.c:492:5: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘size_t’ [-Wformat]
fw_env.c: In function ‘flash_write_buf’:
fw_env.c:806:6: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘size_t’ [-Wformat]

Signed-off-by: Luka Perkov <lists@lukaperkov.net>
Acked-by: Mike Frysinger <vapier@gentoo.org>
tools/env/fw_env.c