projects
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid some overflow cases:
[binutils.git]
/
gprof
/
gprof.c
diff --git
a/gprof/gprof.c
b/gprof/gprof.c
index 5438c913a2785c921a3ac9499bd0f78e76b3d689..efb16b39df601168e8253be52f83d2c84e8dacc0 100644
(file)
--- a/
gprof/gprof.c
+++ b/
gprof/gprof.c
@@
-279,7
+279,7
@@
DEFUN (main, (argc, argv), int argc AND char **argv)
print_path = TRUE;
break;
case 'm':
- bb_min_calls =
atoi (optarg
);
+ bb_min_calls =
(unsigned long) strtoul (optarg, (char **) NULL, 10
);
break;
case 'n':
sym_id_add (optarg, INCL_TIME);
This page took
0.023301 seconds
and
4
git commands to generate.