Fix the usage of types in deflate.c for when an int is 16 bits.

Also clean up conversion warnings.
2 files changed