summaryrefslogtreecommitdiff
path: root/input.h
diff options
context:
space:
mode:
authorVincent Douillet <vincent@vdouillet.fr>2021-12-05 22:53:32 +0100
committerVincent Douillet <vincent@vdouillet.fr>2021-12-05 22:53:32 +0100
commit8a8417207729cb92ae4f3038a3a8bd5e6a0c0ce7 (patch)
treea1366131e356ffadfa081c1561c968a2570a9843 /input.h
parent4c42453d856053bb49affef7c165397e5c16d9eb (diff)
add expected results to previous days
Diffstat (limited to 'input.h')
-rw-r--r--input.h4
1 files changed, 2 insertions, 2 deletions
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 {