X-Git-Url: https://git.cameronkatri.com/cgit.git/blobdiff_plain/dd7c172542440170b5b1aca8be43d2ad6dae7227..8cc02871230aef457006ac775dd1cca5623516a9:/cache.c?ds=inline diff --git a/cache.c b/cache.c index 9f02cf5..d7a8d5a 100644 --- a/cache.c +++ b/cache.c @@ -416,11 +416,11 @@ int cache_ls(const char *path) fullname, strerror(err), err); continue; } - printf("%s %s %10lld %s\n", + printf("%s %s %10"PRIuMAX" %s\n", name, sprintftime("%Y-%m-%d %H:%M:%S", slot.cache_st.st_mtime), - slot.cache_st.st_size, + (uintmax_t)slot.cache_st.st_size, slot.buf); close_slot(&slot); }