commit | 178ec779403105c8f350c7f57ceef500a43ddbbf | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Sat Nov 10 19:47:45 2012 +0000 |
committer | Tom Rini <trini@ti.com> | Wed Dec 19 15:51:57 2012 -0700 |
tree | 6254f25e96702cce568de09cdc2ee8a04b913d09 | |
parent | 0e640e68d7d0636239a0eeccd8de06a9cacb3400 [diff] |
fw_env: fix type of len This variable is assigned by a size_t, and is printed that way, but is incorrectly declared as an int. Which means we get warnings: fw_env.c: In function 'fw_setenv': fw_env.c:409:5: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'int' [-Wformat] Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>