Snippets for python:zodbpickle 4.5 from FreeBSD 151amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/py312-zodbpickle/4.5/151amd64-default.log.
-
src/zodbpickle/_pickle_33.c:1769:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1769 | if (PyFloat_Pack8(x, (unsigned char *)&pdata[1], 0) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/zodbpickle/_pickle_33.c:1828:29: warning: result of comparison of constant 128 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] 1828 | if (ch < 0x20 || ch >= 0x80 || ch == '\'' || ch == '\\') { | ~~ ^ ~~~~ -
src/zodbpickle/_pickle_33.c:4355:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4355 | x = PyFloat_Unpack8((unsigned char *)s, 0); | ^~~~~~~~~~~~~~~~~~