CuAssertPtrEquals now takes const pointers

This commit is contained in:
Steffen Mecke 2016-02-29 13:13:43 +01:00
parent 6e268687db
commit b920423768
2 changed files with 2 additions and 2 deletions

View File

@ -222,7 +222,7 @@ void CuAssertDblEquals_LineMsg(CuTest* tc, const char* file, int line, const cha
}
void CuAssertPtrEquals_LineMsg(CuTest* tc, const char* file, int line, const char* message,
void* expected, void* actual)
const void* expected, const void* actual)
{
char buf[STRING_MAX];
if (expected == actual) return;

View File

@ -69,7 +69,7 @@ void CuAssertDblEquals_LineMsg(CuTest* tc,
double expected, double actual, double delta);
void CuAssertPtrEquals_LineMsg(CuTest* tc,
const char* file, int line, const char* message,
void* expected, void* actual);
const void* expected, const void* actual);
/* public assert functions */