From 9c63e92baaea8fd35d9892e197a97d3bb39079f4 Mon Sep 17 00:00:00 2001 From: Lucas Stach Date: Mon, 21 Apr 2014 22:15:22 +0200 Subject: 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 Signed-off-by: Sascha Hauer --- common/tlsf_malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/tlsf_malloc.c') diff --git a/common/tlsf_malloc.c b/common/tlsf_malloc.c index cd01b567b9..aa8fc13ea5 100644 --- a/common/tlsf_malloc.c +++ b/common/tlsf_malloc.c @@ -97,5 +97,5 @@ void malloc_stats(void) tlsf_walk_heap(tlsf_mem_pool, malloc_walker, &s); - printf("used: %10d\nfree: %10d\n", s.used, s.free); + printf("used: %10zu\nfree: %10zu\n", s.used, s.free); } -- cgit v1.2.3