aboutsummaryrefslogtreecommitdiff
path: root/gprof/sparc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/sparc.c')
-rw-r--r--gprof/sparc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/sparc.c b/gprof/sparc.c
index 9ffdeb0..1fbeae7 100644
--- a/gprof/sparc.c
+++ b/gprof/sparc.c
@@ -64,7 +64,7 @@ sparc_find_call (parent, p_lowpc, p_highpc)
{
DBG (CALLDEBUG,
printf ("[find_call] 0x%lx: callf",
- (unsigned long) instr - delta));
+ (unsigned long) instr - (unsigned long) delta));
/*
* Regular pc relative addressing check that this is the
* address of a function.