bpo-35947: Fix a compiler warning in _ctypes.c's StructUnionType_paramfunc() by ZackerySpytz · Pull Request #12629 · python/cpython
With GCC 8.2.0, I see the following:
/home/lubuntu2/cpython/Modules/_ctypes/_ctypes.c: In function ‘StructUnionType_paramfunc’:
/home/lubuntu2/cpython/Modules/_ctypes/_ctypes.c:409:22: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
if (self->b_size > sizeof(void*)) {
^
This is due to 32119e1.