git://wimlib.net
/
wimlib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
48e894e
)
read_compressed_resource(): Fix format strings
author
Eric Biggers
<ebiggers3@gmail.com>
Sun, 17 Mar 2013 02:18:38 +0000
(21:18 -0500)
committer
Eric Biggers
<ebiggers3@gmail.com>
Sun, 17 Mar 2013 02:18:38 +0000
(21:18 -0500)
src/resource.c
patch
|
blob
|
history
diff --git
a/src/resource.c
b/src/resource.c
index eb79c7498c98a2e0b7d78129dad067c5df3d9643..8d61761414c9b718a1e4b0dab9312359616711ab 100644
(file)
--- a/
src/resource.c
+++ b/
src/resource.c
@@
-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);
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
/* This is undocumented, but chunks can be uncompressed. This
* appears to always be the case when the compressed chunk size