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
|
|
@ -970,8 +970,8 @@ static void scan_file(struct snapraid_scan* scan, int is_diff, const char* sub,
|
|||
++scan->count_change;
|
||||
|
||||
log_tag("scan:update:%s:%s: %" PRIu64 " %" PRIu64 ".%d -> %" PRIu64 " %" PRIu64 ".%d\n", disk->name, esc_tag(sub, esc_buffer),
|
||||
(uint64_t)file_already_present_size, (uint64_t)file_already_present_mtime_sec, file_already_present_mtime_nsec,
|
||||
(uint64_t)file->size, (uint64_t)file->mtime_sec, file->mtime_nsec
|
||||
file_already_present_size, file_already_present_mtime_sec, file_already_present_mtime_nsec,
|
||||
file->size, file->mtime_sec, file->mtime_nsec
|
||||
);
|
||||
|
||||
if (is_diff) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue