summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-11-28 05:43:24 +0000
committerache <ache@FreeBSD.org>2001-11-28 05:43:24 +0000
commitf320d6c29a634f799998ac539ecc1fc1f261e4c5 (patch)
tree27e115d3a5b11d7f0b244cff71e94d7a8af94067 /lib
parente1518d100bbfdc23368b9c3e441239b445376a7f (diff)
downloadFreeBSD-src-f320d6c29a634f799998ac539ecc1fc1f261e4c5.zip
FreeBSD-src-f320d6c29a634f799998ac539ecc1fc1f261e4c5.tar.gz
Fix typo
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdlib/strtod.c2
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)
OpenPOWER on IntegriCloud