diff options
author | Jakob Kaivo <jkk@ung.org> | 2019-03-02 14:49:58 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2019-03-02 14:49:58 -0500 |
commit | c997061111200bd0fc68143215598c0a3bf1fc26 (patch) | |
tree | 08c4c9bf2840420c36246f83f8c0051fd8501b52 | |
parent | c7a58243a353f33b997212bfa06ce60fc4a470f1 (diff) |
use correct format specifier
-rw-r--r-- | test.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |