aboutsummaryrefslogtreecommitdiff
path: root/gprof/tahoe.c
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/tahoe.c')
-rw-r--r--gprof/tahoe.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gprof/tahoe.c b/gprof/tahoe.c
index 414b358..5981bc5 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)
{