taken from Fedora

commit af393379e34c5677f95bbec11645b6c3028195b4
Author: Bruno Wolff III <bruno@wolff.to>
Date:   Wed Jun 24 14:27:31 2015 -0500

Update printf formats to match datatypes after CVE patch

--- a/squashfs-tools/unsquash-4.c
+++ b/squashfs-tools/unsquash-4.c
@@ -35,7 +35,7 @@
 	size_t indexes = SQUASHFS_FRAGMENT_INDEXES(sBlk.s.fragments);
 	long long *fragment_table_index;
 
-	TRACE("read_fragment_table: %d fragments, reading %d fragment indexes "
+	TRACE("read_fragment_table: %u fragments, reading %zu fragment indexes "
 		"from 0x%llx\n", sBlk.s.fragments, indexes,
 		sBlk.s.fragment_table_start);
 
