From f320d6c29a634f799998ac539ecc1fc1f261e4c5 Mon Sep 17 00:00:00 2001 From: ache Date: Wed, 28 Nov 2001 05:43:24 +0000 Subject: Fix typo --- lib/libc/stdlib/strtod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc') diff --git a/lib/libc/stdlib/strtod.c b/lib/libc/stdlib/strtod.c index 71fccac..72bb8bf 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) -- cgit v1.1