Skip to content

Commit

Permalink
Merge pull request #1788 from d06alexandrov/c_memcmp_nullptr
Browse files Browse the repository at this point in the history
Fix NULLPTR in C harness
  • Loading branch information
basvodde committed Apr 28, 2024
2 parents 25885b5 + 2c19ce3 commit d1c8222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/CppUTest/TestHarness_c.h
Expand Up @@ -115,7 +115,7 @@
CHECK_EQUAL_C_POINTER_LOCATION(expected,actual,text,__FILE__,__LINE__)

#define CHECK_EQUAL_C_MEMCMP(expected, actual, size) \
CHECK_EQUAL_C_MEMCMP_LOCATION(expected, actual, size, NULLPTR, __FILE__, __LINE__)
CHECK_EQUAL_C_MEMCMP_LOCATION(expected, actual, size, NULL, __FILE__, __LINE__)

#define CHECK_EQUAL_C_MEMCMP_TEXT(expected, actual, size, text) \
CHECK_EQUAL_C_MEMCMP_LOCATION(expected, actual, size, text, __FILE__, __LINE__)
Expand Down

0 comments on commit d1c8222

Please sign in to comment.