diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/stdlib/strtod.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |