From a6e3e5aaf3af1fa05bc54b793f45d66b3e3f4a05 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Mon, 21 Jul 2025 18:06:31 +0200 Subject: fix: Fix some warnings --- testing.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testing.h') 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; \ } -- cgit v1.3