I have a problem with type casting. My code is
zcpr.next_in = FilePtr;
next_in is a element of the zcpr structure where its type is and FilePtr is a void type pointer. zcpr is a z_stream type structure and next_in is a Bytef type pointer.
This code is a part of zlib library. Let me khow how to solve this type casting.