Author: Lars Hjemli <hjemli@gmail.com>
cache.c: use %zd for off_t argument Signed-off-by: Lars Hjemli <hjemli@gmail>
cache.c | 2 +-
diff --git a/cache.c b/cache.c
index 9f02cf50ff47224871201118ac36e68628aa9a5a..57068a11faa727f339777ec0ed0bc0e4d3b7a684 100644
--- a/cache.c
+++ b/cache.c
@@ -416,7 +416,7 @@ cache_log("[cgit] unable to open path %s: %s (%d)\n",
fullname, strerror(err), err);
continue;
}
- printf("%s %s %10lld %s\n",
+ printf("%s %s %10zd %s\n",
name,
sprintftime("%Y-%m-%d %H:%M:%S",
slot.cache_st.st_mtime),