gdraheim / zziplib

The ZZIPlib provides read access on ZIP-archives and unpacked data. It features an additional simplified API following the standard Posix API for file access
Other
65 stars 53 forks source link

fix incompatible pointers #150

Closed Schievel1 closed 9 months ago

Schievel1 commented 11 months ago

Clang16 and GCC 14 will make incompatible-function-pointer-types and incompatible-pointer-types and error by default. This patch sets the functions return and parameter types to the correct expected types and casts to the expected pointer.

See also: https://wiki.gentoo.org/wiki/Modern_C_porting Bug: https://bugs.gentoo.org/919066