diff options
author | Lucas Stach <dev@lynxeye.de> | 2014-04-21 22:15:22 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-04-23 09:05:51 +0200 |
commit | 9c63e92baaea8fd35d9892e197a97d3bb39079f4 (patch) | |
tree | 2375a04e74f083894db37d4bf8a2fa78619d46bc /lib/gui | |
parent | 86afb22eae1230a84a7835dd370a0a744c92cb74 (diff) | |
download | barebox-9c63e92baaea8fd35d9892e197a97d3bb39079f4.tar.gz barebox-9c63e92baaea8fd35d9892e197a97d3bb39079f4.tar.xz |
treewide: fix signedness mixups in printf format specifiers
This most likely doesn't fix any real bugs, but it's the
right thing to do and reduces the noise level with static
checkers.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib/gui')
-rw-r--r-- | lib/gui/picopng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gui/picopng.c b/lib/gui/picopng.c index 77cd81cbad..3c0659f368 100644 --- a/lib/gui/picopng.c +++ b/lib/gui/picopng.c @@ -800,7 +800,7 @@ int main(int argc, char **argv) #ifdef ALLOC_DEBUG png_alloc_node_t *node; for (node = png_alloc_head, n = 1; node; node = node->next, n++) - printf("node %d (%p) addr = %p, size = %ld\n", n, node, node->addr, node->size); + printf("node %d (%p) addr = %p, size = %zu\n", n, node, node->addr, node->size); #endif png_alloc_free_all(); // also frees info and image data from PNG_decode |