]> wimlib.net Git - wimlib/commitdiff
read_compressed_resource(): Fix format strings
authorEric Biggers <ebiggers3@gmail.com>
Sun, 17 Mar 2013 02:18:38 +0000 (21:18 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 17 Mar 2013 02:18:38 +0000 (21:18 -0500)
src/resource.c

index eb79c7498c98a2e0b7d78129dad067c5df3d9643..8d61761414c9b718a1e4b0dab9312359616711ab 100644 (file)
@@ -279,9 +279,9 @@ static int read_compressed_resource(FILE *fp, u64 resource_compressed_size,
                bool is_partial_chunk = (partial_chunk_size !=
                                                uncompressed_chunk_size);
 
-               DEBUG2("start_offset = %u, end_offset = %u", start_offset,
-                                       end_offset);
-               DEBUG2("partial_chunk_size = %u", partial_chunk_size);
+               DEBUG2("start_offset = %"PRIu64", end_offset = %"PRIu64"",
+                      start_offset, end_offset);
+               DEBUG2("partial_chunk_size = %"PRIu64"", partial_chunk_size);
 
                /* This is undocumented, but chunks can be uncompressed.  This
                 * appears to always be the case when the compressed chunk size