diff options
Diffstat (limited to 'lib/cmdline.c')
| -rw-r--r-- | lib/cmdline.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cmdline.c b/lib/cmdline.c index 653287396036..a9e9589d3d57 100644 --- a/lib/cmdline.c +++ b/lib/cmdline.c @@ -93,9 +93,9 @@ char *get_options (char *str, int nints, int *ints) * megabyte, or one gigabyte, respectively. */ -unsigned long memparse (char *ptr, char **retptr) +unsigned long long memparse (char *ptr, char **retptr) { - unsigned long ret = simple_strtoul (ptr, retptr, 0); + unsigned long long ret = simple_strtoull (ptr, retptr, 0); switch (**retptr) { case 'G': |
