bug-gzip
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 5/5] gzip: fix debugging/porting typo


From: Paul Eggert
Subject: [PATCH 5/5] gzip: fix debugging/porting typo
Date: Fri, 16 Nov 2012 13:50:48 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121029 Thunderbird/16.0.2

* unlzw.c (unlzw) [DEBUG]: Don't assume 'long' can be printed with %d.
---
 unlzw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unlzw.c b/unlzw.c
index 994a86b..676d58c 100644
--- a/unlzw.c
+++ b/unlzw.c
@@ -190,7 +190,7 @@ int unlzw(in, out)
                 goto resetbuf;
             }
             input(inbuf,posbits,code,n_bits,bitmask);
-            Tracev((stderr, "%d ", code));
+            Tracev((stderr, "%ld ", code));
 
             if (oldcode == -1) {
                 if (256 <= code)
-- 
1.7.11.7




reply via email to

[Prev in Thread] Current Thread [Next in Thread]