Merge "Fix misc-macro-parentheses warnings in DngCreator."

This commit is contained in:
Chih-hung Hsieh
2016-05-27 17:56:46 +00:00
committed by Gerrit Code Review

View File

@@ -74,7 +74,7 @@ using namespace img_utils;
}
#define BAIL_IF_EMPTY_RET_NULL_SP(entry, jnienv, tagId, writer) \
if (entry.count == 0) { \
if ((entry).count == 0) { \
jniThrowExceptionFmt(jnienv, "java/lang/IllegalArgumentException", \
"Missing metadata fields for tag %s (%x)", (writer)->getTagName(tagId), (tagId)); \
return nullptr; \