From 7bbd0c8b5bfe82f4bcb9c3e2098b54543bd94828 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Wed, 28 Nov 2001 05:43:24 +0000 Subject: [PATCH] Fix typo --- lib/libc/stdlib/strtod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/stdlib/strtod.c b/lib/libc/stdlib/strtod.c index 71fccac680fe..72bb8bfc71fd 100644 --- a/lib/libc/stdlib/strtod.c +++ b/lib/libc/stdlib/strtod.c @@ -1227,7 +1227,7 @@ strtod } s0 = s; y = z = 0; - for (nd = nf = 0; isdigit(c = (unsigned char)*s) && (n = digitoint(c)) <= 9; nd++, s++) + for (nd = nf = 0; isdigit(c = (unsigned char)*s) && (n = digittoint(c)) <= 9; nd++, s++) if (nd < 9) y = 10*y + n; else if (nd < 16)