fix compile fail on riscv64

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
Jianhui Zhao committed 2020-10-28 14:11:14 +08:00
1 parent 5146b8e0d5
commit e9013e85a0
1 file changed
+1 -1
+1 -1
View File
@@ -42,7 +42,7 @@
static const char *file_mktag(struct stat *s, char *buf, int len) static const char *file_mktag(struct stat *s, char *buf, int len)
{ {
snprintf(buf, len, "\"%" PRIx64 "-%" PRIx64 "-%" PRIx64 "\"", 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; return buf;
} }