Control: forwarded -1 https://github.com/pst-format/libpst/pull/11
Control: tags -1 + fixed-upstream patch

On Tue, 2024-10-29 at 14:51 +0200, Adrian Bunk wrote:

> ...
> libpst.c: In function 'pst_read_block_size':
> libpst.c:3832:36: error: passing argument 2 of 'uncompress' from incompatible 
> pointer type [-Wincompatible-pointer-types]
>  3832 |     if (uncompress((Bytef *) *buf, &result_size, (Bytef *) zbuf, 
> size) != Z_OK || result_size != inflated_size) {
>       |                                    ^~~~~~~~~~~~
>       |                                    |
>       |                                    size_t * {aka unsigned int *}
> In file included from libpst.c:9:
> /usr/include/zlib.h:1270:55: note: expected 'uLongf *' {aka 'long unsigned 
> int *'} but argument is of type 'size_t *' {aka 'unsigned int *'}
>  1270 | ZEXTERN int ZEXPORT uncompress(Bytef *dest,   uLongf *destLen,
>       |                                               ~~~~~~~~^~~~~~~

This has been fixed upstream via the patch above.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to