Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3eae60c1 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh Committed by android-build-merger
Browse files

Merge "Fix misc-macro-parentheses warnings in libs/gui." am: 3f5fc8aa am:...

Merge "Fix misc-macro-parentheses warnings in libs/gui." am: 3f5fc8aa am: 5abf78e6 am: 3495475b
am: 556993f4

* commit '556993f4':
  Fix misc-macro-parentheses warnings in libs/gui.

Change-Id: I0f3187bbe31b78fd79ad7e0a9adaada9fd92c179
parents 3dcefe38 556993f4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -160,7 +160,7 @@ protected:
};
};


#define ASSERT_NO_ERROR(err, msg) \
#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,
void checkPixel(const CpuConsumer::LockedBuffer &buf,
        uint32_t x, uint32_t y, uint32_t r, uint32_t g=0, uint32_t b=0) {
        uint32_t x, uint32_t y, uint32_t r, uint32_t g=0, uint32_t b=0) {