perf_counter tools: Warning fixes on 32-bit

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Arjan van de Ven
2009-06-06 20:36:38 +02:00
committed by Ingo Molnar
parent 864709302a
commit 7d37a0cbd6
2 changed files with 3 additions and 3 deletions

View File

@@ -668,9 +668,9 @@ static void hist_hit(struct hist_entry *he, uint64_t ip)
if (verbose >= 3)
printf("%p %s: count++ [ip: %p, %08Lx] => %Ld\n",
(void *)he->sym->start,
(void *)(unsigned long)he->sym->start,
he->sym->name,
(void *)ip, ip - he->sym->start,
(void *)(unsigned long)ip, ip - he->sym->start,
sym->hist[offset]);
}