diff options
Diffstat (limited to 'src/compression/huffman.c')
-rw-r--r-- | src/compression/huffman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compression/huffman.c b/src/compression/huffman.c index b8926ac..8f98755 100644 --- a/src/compression/huffman.c +++ b/src/compression/huffman.c @@ -440,7 +440,7 @@ void Ptngc_comp_conv_to_huffman(unsigned int *vals, int nvals, int ihave=0; int j; for (j=0; j<ndict; j++) - if (codelength[j].dict==i) + if (codelength[j].dict==(unsigned int)i) { ihave=1; |