aboutsummaryrefslogtreecommitdiff
path: root/gprof/tahoe.c
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/tahoe.c')
-rw-r--r--gprof/tahoe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gprof/tahoe.c b/gprof/tahoe.c
index 55db278..d133c17 100644
--- a/gprof/tahoe.c
+++ b/gprof/tahoe.c
@@ -293,7 +293,7 @@ tahoe_find_call (parent, p_lowpc, p_highpc)
* [are there others that we miss?,
* e.g. arrays of pointers to functions???]
*/
- arc_add (parent, &indirectchild, (long) 0);
+ arc_add (parent, &indirectchild, (unsigned long) 0);
length += tahoe_operandlength (instructp + length);
continue;
case byterel:
@@ -319,7 +319,7 @@ tahoe_find_call (parent, p_lowpc, p_highpc)
/*
* a hit
*/
- arc_add (parent, child, (long) 0);
+ arc_add (parent, child, (unsigned long) 0);
length += tahoe_operandlength (instructp + length);
continue;
}