Skip to content

Commit

Permalink
fix compile fail on riscv64
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
  • Loading branch information
zhaojh329 committed Oct 28, 2020
1 parent 5146b8e commit e9013e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e9013e8

Please sign in to comment.