Fix misc-macro-parentheses warnings. am: 418442d5b6 am: 8264875e93

am: 49a06d1efd

* commit '49a06d1efd0a9a0b076980d172e2e7af2cd09b33':
  Fix misc-macro-parentheses warnings.

Change-Id: I7d6d9f7a31ab7e6d2ba5ba87f46a980fdf091718
This commit is contained in:
Chih-Hung Hsieh
2016-05-12 18:27:37 +00:00
committed by android-build-merger

View File

@@ -24,7 +24,7 @@
#include "GifTranscoder.h"
#define SQUARE(a) (a)*(a)
#define SQUARE(a) ((a)*(a))
// GIF does not support partial transparency, so our alpha channels are always 0x0 or 0xff.
static const ColorARGB TRANSPARENT = 0x0;
@@ -37,7 +37,7 @@ static const ColorARGB TRANSPARENT = 0x0;
#define MAKE_COLOR_ARGB(a, r, g, b) \
((a) << 24 | (r) << 16 | (g) << 8 | (b))
#define MAX_COLOR_DISTANCE 255 * 255 * 255
#define MAX_COLOR_DISTANCE (255 * 255 * 255)
#define TAG "GifTranscoder.cpp"
#define LOGD_ENABLED 0