diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/xatol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xatol.c b/libbb/xatol.c index 1b281b1e9..74a3b9917 100644 --- a/libbb/xatol.c +++ b/libbb/xatol.c | |||
@@ -127,7 +127,7 @@ unsigned long xatoul_range(const char *numstr, | |||
127 | unsigned long lower, | 127 | unsigned long lower, |
128 | unsigned long upper) | 128 | unsigned long upper) |
129 | { | 129 | { |
130 | return xstrtol_range_sfx(numstr, 10, lower, upper, NULL); | 130 | return xstrtoul_range_sfx(numstr, 10, lower, upper, NULL); |
131 | } | 131 | } |
132 | 132 | ||
133 | unsigned long xatoul(const char *numstr) | 133 | unsigned long xatoul(const char *numstr) |