projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Size parse should use strtoll()
[fio.git]
/
parse.c
diff --git
a/parse.c
b/parse.c
index cab6ca727d37005641afd36f83835dccf82101f5..b09f20d714d4a8475dcaac682dbcf4ba0e385b36 100644
(file)
--- a/
parse.c
+++ b/
parse.c
@@
-56,7
+56,7
@@
static int str_to_decimal(const char *str, long long *val, int kilo)
if (!len)
return 1;
- *val = strtol(str, NULL, 10);
+ *val = strtol
l
(str, NULL, 10);
if (*val == LONG_MAX && errno == ERANGE)
return 1;