From: Karel Zak Date: Tue, 14 Jun 2011 12:22:58 +0000 (+0200) Subject: test_sysinfo: fix printf format X-Git-Tag: v2.20-rc1~169 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aeefa8a4169f93d000cd0eca5dafb491eedd85f0;p=thirdparty%2Futil-linux.git test_sysinfo: fix printf format Signed-off-by: Karel Zak --- diff --git a/tests/helpers/test_sysinfo.c b/tests/helpers/test_sysinfo.c index a8d80d8759..bc0eea22d9 100644 --- a/tests/helpers/test_sysinfo.c +++ b/tests/helpers/test_sysinfo.c @@ -28,7 +28,7 @@ typedef struct { int hlp_wordsize(void) { - printf("%d\n", CHAR_BIT*sizeof(void*)); + printf("%lu\n", CHAR_BIT * sizeof(void*)); return 0; }