[Zlib-devel] Testing CMakeLists from zlib 1.2.3.5

Mark Adler madler at alumni.caltech.edu
Wed Jan 13 11:55:55 EST 2010


On Jan 13, 2010, at 4:11 AM, Philip Lowman wrote:
> and VS is having a problem because it doesn't know the size of
> the void* ?!?

You can replace the two occurrences of "buf += n" with "buf = (char *)buf + n" to fix that.  (gcc does know the size of void, but that is non-standard.)

Mark





More information about the Zlib-devel mailing list