From 4c16dabbfa70bc4c019463091acae1266f600113 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Thu, 20 Dec 2012 22:17:25 -0600 Subject: [PATCH] xpress_decode_match(): Fix signs in format strings --- src/xpress-decompress.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; } -- 2.43.0