diff options
author | Ian Lance Taylor <ian@airs.com> | 2000-02-22 07:25:46 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2000-02-22 07:25:46 +0000 |
commit | fb6d44823d534e1f0dc13d0aebfd31f6365d72a1 (patch) | |
tree | 7a6531f5ff3491a5fedfee7d94b043faff79c6fd /gprof/tahoe.c | |
parent | 5497f9762aafdfb047e985fd14e29714007141ad (diff) | |
download | binutils-redhat-fb6d44823d534e1f0dc13d0aebfd31f6365d72a1.tar.gz |
From Brad Lucier <lucier@math.purdue.edu>:
* 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.
Diffstat (limited to 'gprof/tahoe.c')
-rw-r--r-- | gprof/tahoe.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gprof/tahoe.c b/gprof/tahoe.c index 414b358935..5981bc5278 100644 --- a/gprof/tahoe.c +++ b/gprof/tahoe.c @@ -260,8 +260,10 @@ tahoe_find_call (parent, p_lowpc, p_highpc) * maybe a callf, better check it out. * skip the count of the number of arguments. */ - DBG (CALLDEBUG, printf ("[findcall]\t0x%x:callf", - instructp - (unsigned char *) core_text_space)); + DBG (CALLDEBUG, printf ("[findcall]\t0x%lx:callf", + ((unsigned long) + (instructp + - (unsigned char *) core_text_space)))); firstmode = tahoe_operandmode (instructp + length); switch (firstmode) { |