summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/snippets/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/snippets/time.c b/test/snippets/time.c
index 7153588..568d075 100644
--- a/test/snippets/time.c
+++ b/test/snippets/time.c
@@ -1,2 +1,2 @@
time_t t = time(NULL);
-printf("[%s] time() yielded %zd\n", where, t);
+printf("[%s] time() yielded %lu\n", where, (unsigned long)t);