diff options
author | Wei Yang <weiyang@linux.vnet.ibm.com> | 2013-09-22 10:49:24 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-11-01 14:41:54 +0100 |
commit | 32bf5bd181026fc99c0e15045abe409167285ba8 (patch) | |
tree | b6020b08591927b7aa7b7daac33798d65035bda9 /tools/perf/tests/attr | |
parent | perf tools: Remove cast of non-variadic function to variadic (diff) | |
download | linux-32bf5bd181026fc99c0e15045abe409167285ba8.tar.xz linux-32bf5bd181026fc99c0e15045abe409167285ba8.zip |
perf bench: Fix two warnings
There are two warnings in bench/numa, when building this on 32-bit
machine.
The warning output is attached:
bench/numa.c:1113:20: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
bench/numa.c:1161:6: error: format ‘%lx’ expects argument of t'long unsigned int’, but argument 5 has type ‘u64’ [-Werror=format]
This patch fixes these two warnings.
Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Link: http://lkml.kernel.org/r/1379839764-9245-1-git-send-email-weiyang@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/attr')
0 files changed, 0 insertions, 0 deletions