summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-12-29 15:56:22 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-12-29 15:56:22 +0000
commitda3fc969d3d4e34ede64c347ac2399684c7cbcfe (patch)
tree265ff169549346cbd45180bc22a7a3656a84de8a
parent3f59c71ed8ef6c66f3e3c31162f536861a190a1c (diff)
libc/stdlib/_strtod.c: add parens around a | b
-rw-r--r--libc/stdlib/_strtod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/_strtod.c b/libc/stdlib/_strtod.c
index d531d1b54..6a3d246ea 100644
--- a/libc/stdlib/_strtod.c
+++ b/libc/stdlib/_strtod.c
@@ -351,7 +351,7 @@ __fpmax_t attribute_hidden __XL_NPP(__strtofpmax)(const Wchar *str, Wchar **endp
/* Unfortunately, we have no memcasecmp(). */
int j = 0;
/* | 0x20 is a cheap lowercasing (valid for ASCII letters and numbers only) */
- while (pos[j] | 0x20 == nan_inf_str[i+1+j]) {
+ while ((pos[j] | 0x20) == nan_inf_str[i+1+j]) {
++j;
if (!nan_inf_str[i+1+j]) {
number = i / 0.;