Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a warning about an assignment discarding qualifiers
By explicitly casting a `const void *` to a `Bytef *`, we get rid of this warning from Clang: src/decompress.c:51:20: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] stream.next_in = buf; ^ ~~~
- Loading branch information