summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2006-05-19 14:15:28 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2006-05-19 14:15:28 +0000
commit3db987120264b95fa398892b3c8d8909bf683919 (patch)
tree3371b1d9b8c109e83ba9a98ee729d8f6ace2fed2
parent80b7a253b6cbc5d84139af5324ed5b32e4493166 (diff)
fix a !foo & bar.
ok miod@, tedu@, pedro@
-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;