Fix clang warning

This commit is contained in:
Wilson Snyder 2020-01-13 19:01:30 -05:00
parent fad465abf1
commit 7bed17b14b
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ unsigned int callback_count_strs_max = 500;
#define CHECK_RESULT_CSTR(got, exp) \
if (strcmp((got), (exp))) { \
printf("%%Error: %s:%d: GOT = '%s' EXP = '%s'\n", FILENM, __LINE__, \
(got) ? (got) : "<null>", (exp) ? (exp) : "<null>"); \
((got) != NULL) ? (got) : "<null>", ((exp) != NULL) ? (exp) : "<null>"); \
return __LINE__; \
}