Source: libpst
Version: 0.6.76-1.1+b2
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/logs.php?pkg=libpst&ver=0.6.76-1.1%2Bb2

...
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,
      |                                               ~~~~~~~~^~~~~~~
make[3]: *** [Makefile:793: libpst.lo] Error 1

Reply via email to