Snippets for apmod:perl 2.0.13 from Alpine s390x
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-s390x/testing/apache2-mod-perl/apache2-mod-perl-2.0.13-r3.log.
-
modperl_util.c:635:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'apr_size_t' {aka 'long unsigned int'} [-Wformat=] 635 | Perl_croak(aTHX_ "Error: read %d bytes, expected %d ('%s')", | ~^ | | | int | %ld 636 | size, (apr_size_t)r->finfo.size, r->filename); | ~~~~ | | | apr_size_t {aka long unsigned int} -
modperl_util.c:635:59: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 635 | Perl_croak(aTHX_ "Error: read %d bytes, expected %d ('%s')", | ~^ | | | int | %ld 636 | size, (apr_size_t)r->finfo.size, r->filename); | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int -
/home/buildozer/aports/testing/apache2-mod-perl/src/mod_perl-2.0.13/xs/APR/Socket/APR__Socket.h:45:30: warning: format '%d' expects argument of type 'int', but argument 4 has type 'apr_size_t' {aka 'long unsigned int'} [-Wformat=] 45 | Perl_croak(aTHX_ "the 3rd arg (%d) is bigger than the " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 46 | "length (%d) of the 2nd argument", 47 | (int)SvIV(sv_len), buf_len); | ~~~~~~~ | | | apr_size_t {aka long unsigned int}