fix compile fail on riscv64

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
main
Jianhui Zhao 2020-10-28 14:11:14 +08:00
parent 5146b8e0d5
commit e9013e85a0
1 changed files with 1 additions and 1 deletions

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;
} }