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:
Jean-Pierre André 2016-02-15 12:02:10 +01:00
parent d2197785f4
commit 941ec4762f

View File

@ -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);