In `zzip_compr_str` we compare the integer value `compr` with
`LENGTH(comprlevel)`, which returns an unsigned value, causing the
compiler to emit a warning. As we're already verifying that `compr` is a
positive value, we can just cast it to an unsigned integer to avoid that
warning.
zzip_char_t *
zzip_compr_str(int compr)
{
- if (0 <= compr && compr < LENGTH(comprlevel))
+ if (0 <= compr && (unsigned) compr < LENGTH(comprlevel))
{
return comprlevel[compr];
} else if (0 < compr && compr < 256)