X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gprof%2Fi386.c;h=18aad1caeec0e48457d08393ee970927057c469b;hb=fefb09e572f1a3ac347bf4f1c234ec85158f884b;hp=d09d34ed5a1aad35f04580e6508381a7b9c6fe56;hpb=fa803dc60f0bf01297674c41d001798e18ade4dc;p=deliverable%2Fbinutils-gdb.git diff --git a/gprof/i386.c b/gprof/i386.c index d09d34ed5a..18aad1caee 100644 --- a/gprof/i386.c +++ b/gprof/i386.c @@ -18,7 +18,7 @@ */ #include "gprof.h" #include "cg_arcs.h" -#include "core.h" +#include "corefile.h" #include "hist.h" #include "symtab.h" @@ -86,7 +86,7 @@ i386_find_call (parent, p_lowpc, p_highpc) */ DBG (CALLDEBUG, printf ("\tdestpc 0x%lx (%s)\n", destpc, child->name)); - arc_add (parent, child, (long) 0); + arc_add (parent, child, (unsigned long) 0); instructp += 4; /* call is a 5 byte instruction */ continue; }