mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 10:04:00 +08:00
Silenced a compiler warning for different types
Some compilers issue a warning when the alternatives in a "? :" expression have different signedness.
This commit is contained in:
parent
d2197785f4
commit
941ec4762f
@ -1011,7 +1011,7 @@ static void restore_image(void)
|
||||
Printf("Restoring NTFS from image ...\n");
|
||||
|
||||
progress_init(&progress, p_counter, opt.std_out ?
|
||||
sle64_to_cpu(image_hdr.nr_clusters) + 1 :
|
||||
(u64)sle64_to_cpu(image_hdr.nr_clusters) + 1 :
|
||||
le64_to_cpu(image_hdr.inuse) + 1,
|
||||
100);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user