diff options
| -rw-r--r-- | libs/gui/tests/CpuConsumer_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gui/tests/CpuConsumer_test.cpp b/libs/gui/tests/CpuConsumer_test.cpp index 2dc9cccb56..5d53afce59 100644 --- a/libs/gui/tests/CpuConsumer_test.cpp +++ b/libs/gui/tests/CpuConsumer_test.cpp @@ -160,7 +160,7 @@ protected: }; #define ASSERT_NO_ERROR(err, msg) \ - ASSERT_EQ(NO_ERROR, err) << msg << strerror(-err) + ASSERT_EQ(NO_ERROR, err) << (msg) << strerror(-(err)) void checkPixel(const CpuConsumer::LockedBuffer &buf, uint32_t x, uint32_t y, uint32_t r, uint32_t g=0, uint32_t b=0) { |