Chromium Code Reviews| Index: v8/src/checks.h |
| =================================================================== |
| --- v8/src/checks.h (revision 792) |
| +++ v8/src/checks.h (working copy) |
| @@ -230,7 +230,7 @@ |
| template <int> class StaticAssertionHelper { }; |
| #define STATIC_CHECK(test) \ |
| typedef \ |
| - StaticAssertionHelper<sizeof(StaticAssertion<static_cast<bool>(test)>)> \ |
| + StaticAssertionHelper<sizeof(StaticAssertion<static_cast<bool>((test))>)> \ |
| SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__) |