X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=unlzw.c;h=d5b01f598b13915460762c47675acef4504f4bf1;hb=357a301170a6a584ee28c92edc9f2d385bbf8d85;hp=676d58c4b96e4212dfac6fcdc10e0c90032c32ac;hpb=d738e90e8360e101b94fca8c79147f59565f62d8;p=debian%2Fgzip diff --git a/unlzw.c b/unlzw.c index 676d58c..d5b01f5 100644 --- a/unlzw.c +++ b/unlzw.c @@ -8,19 +8,19 @@ */ #include -#include "tailor.h" #include #include +#include "tailor.h" #include "gzip.h" #include "lzw.h" -typedef unsigned char char_type; -typedef long code_int; -typedef unsigned long count_int; -typedef unsigned short count_short; -typedef unsigned long cmp_code_int; +typedef unsigned char char_type; +typedef long code_int; +typedef unsigned long count_int; +typedef unsigned short count_short; +typedef unsigned long cmp_code_int; #define MAXCODE(n) (1L << (n)) @@ -123,7 +123,7 @@ int unlzw(in, out) block_mode = maxbits & BLOCK_MODE; if ((maxbits & LZW_RESERVED) != 0) { WARN((stderr, "\n%s: %s: warning, unknown flags 0x%x\n", - program_name, ifname, maxbits & LZW_RESERVED)); + program_name, ifname, (unsigned int) maxbits & LZW_RESERVED)); } maxbits &= BIT_MASK; maxmaxcode = MAXCODE(maxbits);