From e9013e85a0e52463e3c99ae10abe90e98604cc81 Mon Sep 17 00:00:00 2001 From: Jianhui Zhao Date: Wed, 28 Oct 2020 14:11:14 +0800 Subject: [PATCH] fix compile fail on riscv64 Signed-off-by: Jianhui Zhao --- src/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/file.c b/src/file.c index 3b17186..8e8e428 100644 --- a/src/file.c +++ b/src/file.c @@ -42,7 +42,7 @@ static const char *file_mktag(struct stat *s, char *buf, int len) { snprintf(buf, len, "\"%" PRIx64 "-%" PRIx64 "-%" PRIx64 "\"", - s->st_ino, s->st_size, (uint64_t)s->st_mtime); + (uint64_t)s->st_ino, s->st_size, (uint64_t)s->st_mtime); return buf; }