summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test.c2
1 files changed, 1 insertions, 1 deletions
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)