From: Michael Ellerman Date: Wed, 23 Jul 2014 07:31:32 +0000 (+1000) Subject: selftests/powerpc: Fix parse_proc_maps() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6861b44aa0403033f6a4af128980e018e78c3fc3;p=linux-beck.git selftests/powerpc: Fix parse_proc_maps() start and end should be unsigned long. Signed-off-by: Michael Ellerman Signed-off-by: Benjamin Herrenschmidt --- diff --git a/tools/testing/selftests/powerpc/pmu/lib.c b/tools/testing/selftests/powerpc/pmu/lib.c index 0f6a4731d546..11e26e8cf33a 100644 --- a/tools/testing/selftests/powerpc/pmu/lib.c +++ b/tools/testing/selftests/powerpc/pmu/lib.c @@ -177,8 +177,8 @@ struct addr_range libc, vdso; int parse_proc_maps(void) { + unsigned long start, end; char execute, name[128]; - uint64_t start, end; FILE *f; int rc;