diff options
Diffstat (limited to 'gprof/corefile.c')
-rw-r--r-- | gprof/corefile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/corefile.c b/gprof/corefile.c index 6ddb52b3f0..d7df904d6b 100644 --- a/gprof/corefile.c +++ b/gprof/corefile.c @@ -509,7 +509,7 @@ core_create_syms_from (const char * sym_table_file) sym_init (symtab.limit); - sscanf (address, "%lx", &(symtab.limit->addr) ); + sscanf (address, "%" BFD_VMA_FMT "x", &(symtab.limit->addr) ); symtab.limit->name = (char *) xmalloc (strlen (name) + 1); strcpy ((char *) symtab.limit->name, name); |