summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-03-02 14:49:58 -0500
committerJakob Kaivo <jkk@ung.org>2019-03-02 14:49:58 -0500
commitc997061111200bd0fc68143215598c0a3bf1fc26 (patch)
tree08c4c9bf2840420c36246f83f8c0051fd8501b52
parentc7a58243a353f33b997212bfa06ce60fc4a470f1 (diff)
use correct format specifier
-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)