From 8a8417207729cb92ae4f3038a3a8bd5e6a0c0ce7 Mon Sep 17 00:00:00 2001 From: Vincent Douillet Date: Sun, 5 Dec 2021 22:53:32 +0100 Subject: add expected results to previous days --- input.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'input.h') diff --git a/input.h b/input.h index d386da0..f7593ce 100644 --- a/input.h +++ b/input.h @@ -4,9 +4,9 @@ /* simple macro to check a result against an expected value */ #define CHECK(actual, expected) {\ if(actual == expected)\ - printf("%d ok\n", actual);\ + printf("%ld ok\n", actual);\ else\ - printf("%d ko, expected %d\n", actual, expected);\ + printf("%ld ko, expected %ld\n", actual, expected);\ } struct input_int { -- cgit v1.2.3