From c997061111200bd0fc68143215598c0a3bf1fc26 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 2 Mar 2019 14:49:58 -0500 Subject: use correct format specifier --- test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.c b/test.c index d7c9a8f..5c31d6b 100644 --- a/test.c +++ b/test.c @@ -90,7 +90,7 @@ void test_int_equals_imp(const char *expression, int result, int expected) void test_long_equals_imp(const char *expression, long result, long expected) { - print_result(result == expected, "%s == %l", expression, expected); + print_result(result == expected, "%s == %ld", expression, expected); } void test_double_imp(const char *expression, double result, double expected) -- cgit v1.2.1