X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fxpress-decompress.c;h=de395de96afeecd3cdf3ad83fc62cdab00e1a3f4;hp=9c5d48662883baa0cb8edb4805f0ec27e0d3b90a;hb=4c16dabbfa70bc4c019463091acae1266f600113;hpb=7371dd5ed076ed4fe15c354b07001653cb2ede52 diff --git a/src/xpress-decompress.c b/src/xpress-decompress.c index 9c5d4866..de395de9 100644 --- a/src/xpress-decompress.c +++ b/src/xpress-decompress.c @@ -142,15 +142,15 @@ static int xpress_decode_match(unsigned huffsym, unsigned window_pos, match_src = match_dest - match_offset; if (window_pos + match_len > window_len) { - ERROR("XPRESS decompression error: match of length %d " + ERROR("XPRESS decompression error: match of length %u " "bytes overflows window", match_len); return -1; } if (match_src < window) { - ERROR("XPRESS decompression error: match of length %d bytes " - "references data before window (match_offset = %d, " - "window_pos = %d)", match_len, match_offset, window_pos); + ERROR("XPRESS decompression error: match of length %u bytes " + "references data before window (match_offset = %u, " + "window_pos = %u)", match_len, match_offset, window_pos); return -1; }