aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2008-08-10 09:24:24 +0200
committerLars Hjemli <hjemli@gmail.com>2008-09-01 22:39:00 +0200
commit2cecf839a06ce951db0d5d95abf79004eff33ca7 (patch)
tree2b2617aa1ffa36913b0c7edede6792f782799b61
parent7fa088e99ad2c938ff296e649da33b0bcdd46f63 (diff)
downloadcgit-2cecf839a06ce951db0d5d95abf79004eff33ca7.tar.gz
cgit-2cecf839a06ce951db0d5d95abf79004eff33ca7.tar.xz
cache.c: use %zd for off_t argument
Signed-off-by: Lars Hjemli <hjemli@gmail>
-rw-r--r--cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.c b/cache.c
index 9f02cf5..57068a1 100644
--- a/cache.c
+++ b/cache.c
@@ -416,7 +416,7 @@ int cache_ls(const char *path)
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),