mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-01 20:36:38 -05:00
Use casting when printing value that may be of a different type
The stat struct could use whatever type for st_* fields.
This commit is contained in:
parent
57a1df44a4
commit
61a1e7a7e6
7 changed files with 14 additions and 14 deletions
|
|
@ -1473,7 +1473,7 @@ static int state_check_process(struct snapraid_state* state, int fix, struct sna
|
|||
} else if (st.st_size != 0) {
|
||||
unsuccesful = 1;
|
||||
|
||||
log_tag("error:%s:%s: Empty file error for size '%" PRIu64 "'\n", disk->name, esc_tag(file->sub, esc_buffer), st.st_size);
|
||||
log_tag("error:%s:%s: Empty file error for size '%" PRIu64 "'\n", disk->name, esc_tag(file->sub, esc_buffer), (uint64_t)st.st_size);
|
||||
++error;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue