Add casts and consts to ease user conversion to C++.

You would still need to run zlib2ansi on all of the *.c files.
6 files changed