summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdlib/strtod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/strtod.c b/lib/libc/stdlib/strtod.c
index 2f0de36d90a..d01158e10c1 100644
--- a/lib/libc/stdlib/strtod.c
+++ b/lib/libc/stdlib/strtod.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strtod.c,v 1.21 2005/08/08 08:05:37 espie Exp $ */
+/* $OpenBSD: strtod.c,v 1.22 2006/05/19 14:15:27 thib Exp $ */
/****************************************************************
*
* The author of this software is David M. Gay.
@@ -532,7 +532,7 @@ lo0bits(ULong *y)
if (!(x & 1)) {
k++;
x >>= 1;
- if (!x & 1)
+ if (!(x & 1))
return 32;
}
*y = x;