summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/strtoull.c
diff options
context:
space:
mode:
authorBill Fenner <fenner@FreeBSD.org>2001-11-28 02:35:35 +0000
committerBill Fenner <fenner@FreeBSD.org>2001-11-28 02:35:35 +0000
commitb9004c1158714e80157e892460d4ef9df594b43e (patch)
tree0c7a61aae60dbcd9544627c659a8ce53a2c5cc58 /lib/libc/stdlib/strtoull.c
parent00def12b2b3d452919002742a78e7b2127987004 (diff)
Notes
Diffstat (limited to 'lib/libc/stdlib/strtoull.c')
-rw-r--r--lib/libc/stdlib/strtoull.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdlib/strtoull.c b/lib/libc/stdlib/strtoull.c
index 3e9b40077d6f..adb655681da9 100644
--- a/lib/libc/stdlib/strtoull.c
+++ b/lib/libc/stdlib/strtoull.c
@@ -84,7 +84,7 @@ strtoull(nptr, endptr, base)
if (base == 0)
base = c == '0' ? 8 : 10;
acc = any = 0;
- if (base < 2 || base > 35)
+ if (base < 2 || base > 36)
goto noconv;
cutoff = ULLONG_MAX / base;