Skip to content

Commit

Permalink
Fix bad format string caused by D47741588
Browse files Browse the repository at this point in the history
Reviewed By: ssj933

Differential Revision: D48210740

fbshipit-source-id: 210bb34c8408be9b1fc4dcf786c75917db4b22f6
  • Loading branch information
wsanville authored and facebook-github-bot committed Aug 10, 2023
1 parent 9661219 commit 6da0489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libresource/Serialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ void ResFileManipulator::serialize(android::Vector<char>* out) {
auto actual_size = out->size() - vec_start;
LOG_ALWAYS_FATAL_IF(
actual_size != final_size,
"did not write expected number of bytes; wrote %ld, expected %zu",
"did not write expected number of bytes; wrote %zu, expected %zu",
actual_size, (size_t)final_size);
// Fix up the file size, assuming our original data starts in a proper chunk.
if (actual_size >= sizeof(android::ResChunk_header)) {
Expand Down

0 comments on commit 6da0489

Please sign in to comment.