From 0e69fcbcf49e7b8c9bbc85f335d7782df4cb87c2 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 22 Feb 2000 07:25:46 +0000 Subject: From Brad Lucier : * i386.c (i386_find_call): Add cast to ensure that printf argument matches format. * tahoe.c (tahoe_find_call): Likewise. * vax.c (vax_find_call): Likewise. --- gprof/i386.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gprof/i386.c') diff --git a/gprof/i386.c b/gprof/i386.c index 2abf2dc8fa8..760d5516fe8 100644 --- a/gprof/i386.c +++ b/gprof/i386.c @@ -67,8 +67,8 @@ i386_find_call (parent, p_lowpc, p_highpc) if (i386_iscall (instructp)) { DBG (CALLDEBUG, - printf ("[findcall]\t0x%x:call", - instructp - (unsigned char *) delta)); + printf ("[findcall]\t0x%lx:call", + (unsigned long) (instructp - (unsigned char *) delta))); /* * regular pc relative addressing * check that this is the address of -- cgit v1.2.3-65-gdbad