Snippets for perl:sereal-encoder 5.007 from Alpine x86
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-x86/community/perl-sereal-encoder/perl-sereal-encoder-5.007-r1.log.
-
srl_buffer.h:126:26: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 126 | if (0) warn("Renew(%ld)", new_size); | ~~^ ~~~~~~~~ | | | | | size_t {aka unsigned int} | long int | %d -
srl_encoder.c:1050:36: warning: left shift count >= width of type [-Wshift-count-overflow] 1050 | const STRLEN max_len = (1L << 32) - 1; | ^~ -
srl_encoder.c:1695:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1695 | src, (UV)pe->value, (UV)weakref_ofs); | ^ -
srl_buffer.h:126:17: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 126 | if (0) warn("Renew(%ld)", new_size); | ^~~~~~~~~~~~ ~~~~~~~~ | | | size_t {aka unsigned int}