aboutsummaryrefslogtreecommitdiff
path: root/testing.h
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-07-21 18:06:31 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-07-21 18:06:31 +0200
commita6e3e5aaf3af1fa05bc54b793f45d66b3e3f4a05 (patch)
treeb1ccb3c0daabb21a75cea6273fe1282b579e9cba /testing.h
parent0be32393e54bed6bbf5890edba72b8808d276289 (diff)
fix: Fix some warnings
Diffstat (limited to 'testing.h')
-rw-r--r--testing.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing.h b/testing.h
index 3fc5df5..d7247f1 100644
--- a/testing.h
+++ b/testing.h
@@ -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; \
}