summaryrefslogtreecommitdiff
path: root/gprof/sparc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-09-18 11:12:25 +0000
committerAlan Modra <amodra@gmail.com>2001-09-18 11:12:25 +0000
commit55c808902f95f3394179ca67a0e54dea4d1c8cdb (patch)
treeec77747ce0d5d71c991808e3e5c482e88071065b /gprof/sparc.c
parentdb09f25b32e3a437a72c0bcc4ec67bb97d16e81b (diff)
* sparc.c (sparc_find_call): Warning fix.
* alpha.c (alpha_find_call): Likewise.
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 9ffdeb092b..1fbeae78fb 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.