X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=unlzw.c;h=d5b01f598b13915460762c47675acef4504f4bf1;hb=92249085071a973e2c0621b0415b93d2e48bb00d;hp=676d58c4b96e4212dfac6fcdc10e0c90032c32ac;hpb=d57728a6ca2413a7c564d8b7bb13d9e5a5a180f3;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);