Fix a precedence warning on Windows
[WebKit-https.git] / JavaScriptCore / kjs / JSImmediate.h
index 08613129f7c79077a4365dc1ccc900ad14989ca9..fd263df5c84f7b24064c86db2b05b0585238d824 100644 (file)
@@ -231,7 +231,7 @@ ALWAYS_INLINE bool JSImmediate::toBoolean(const JSValue* v)
 {
     ASSERT(isImmediate(v));
     uintptr_t bits = unTag(v);
-    return bits != 0 & (JSImmediate::getTag(v) != UndefinedType);
+    return (bits != 0) & (JSImmediate::getTag(v) != UndefinedType);
 }
 
 ALWAYS_INLINE JSValue* JSImmediate::fromDouble(double d)