summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Hommel <wolfcw@users.noreply.github.com>2022-08-10 22:27:39 +0200
committerGitHub <noreply@github.com>2022-08-10 22:27:39 +0200
commit32eedc2b42d29a8658dc3c4d877410c6ae7b3328 (patch)
tree128723de3116c9af0847924c711b0bbcbe4799ad
parenta059f1294fed6e882b251af521f6351914110c3c (diff)
parentccc9992840598e149dd73d008501ff3887c484ec (diff)
downloadlibfaketime-32eedc2b42d29a8658dc3c4d877410c6ae7b3328.tar.gz
Merge pull request #406 from enr0n/master
test/snippets: fix time.c compiler error on 32-bit arches
-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);