From 01230b25b24f161581f3e74830648a19dbabf160 Mon Sep 17 00:00:00 2001 From: "feng@chromium.org" Date: Wed, 12 Nov 2008 01:05:41 +0000 Subject: [PATCH] cl.exe complains about missing parens around the boolean expression. Review URL: http://codereview.chromium.org/10298 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@736 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/objects.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/objects.cc b/src/objects.cc index 00d4406..23bd4c0 100644 --- a/src/objects.cc +++ b/src/objects.cc @@ -3848,7 +3848,7 @@ static inline bool CompareRawStringContents(Vector a, Vector b) { const int kAlignmentMask = sizeof(uint32_t) - 1; // NOLINT uint32_t pa_addr = reinterpret_cast(pa); uint32_t pb_addr = reinterpret_cast(pb); - if ((pa_addr & kAlignmentMask) | (pb_addr & kAlignmentMask) == 0) { + if (((pa_addr & kAlignmentMask) | (pb_addr & kAlignmentMask)) == 0) { #endif const int kStepSize = sizeof(int) / sizeof(Char); // NOLINT int endpoint = length - kStepSize; -- 2.7.4