From b43213c53369955060bcc603a54c0ba11964f27a Mon Sep 17 00:00:00 2001 From: fenner <fenner@FreeBSD.org> Date: Wed, 28 Nov 2001 02:35:35 +0000 Subject: Base 36 is allowed. --- lib/libc/stdlib/strtoull.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc/stdlib/strtoull.c') diff --git a/lib/libc/stdlib/strtoull.c b/lib/libc/stdlib/strtoull.c index 3e9b400..adb6556 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; -- cgit v1.1