diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 2001-11-28 05:43:24 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 2001-11-28 05:43:24 +0000 |
| commit | 7bbd0c8b5bfe82f4bcb9c3e2098b54543bd94828 (patch) | |
| tree | 27e115d3a5b11d7f0b244cff71e94d7a8af94067 /lib/libc/stdlib | |
| parent | 4b676ec15113067afbb752a03497a36c2113716d (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdlib')
| -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 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) |
