diff options
Diffstat (limited to 'testing.h')
| -rw-r--r-- | testing.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,7 +10,7 @@ #define t_assert_equal(a, b) \ if (!(a == b)) { \ fprintf(stderr, \ - "Assertion failed: %d (%s) != %d (%s) at %s:%d in %s()\n", a, \ - #a, b, #b, __FILE__, __LINE__, __func__); \ + "Assertion failed: %d (%s) != %d (%s) at %s:%d in %s()\n", \ + (int)a, #a, (int)b, #b, __FILE__, __LINE__, __func__); \ return 1; \ } |
