Commit 273ddc54 by nulltoken

clar: Fix clar__assert_equal error message formating

parent a6ee1661
...@@ -468,7 +468,7 @@ void clar__assert_equal( ...@@ -468,7 +468,7 @@ void clar__assert_equal(
} }
} }
} }
else if (!strcmp(PRIuZ, fmt) || !strcmp(PRIxZ, fmt)) { else if (!strcmp("%"PRIuZ, fmt) || !strcmp("%"PRIxZ, fmt)) {
size_t sz1 = va_arg(args, size_t), sz2 = va_arg(args, size_t); size_t sz1 = va_arg(args, size_t), sz2 = va_arg(args, size_t);
is_equal = (sz1 == sz2); is_equal = (sz1 == sz2);
if (!is_equal) { if (!is_equal) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment