[python] hate

pull/2401/head
nick black 3 years ago
parent 5ab251e8d8
commit e4cf772a4d
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -240,7 +240,7 @@ static inline void PyObject_cleanup(PyObject **object)
#define GNU_PY_UINT_CHECK(py_ulong) \
({ \
unsigned new_long = PyLong_AsUnsignedLong(py_ulong); \
unsigned new_long = (unsigned)PyLong_AsUnsignedLong(py_ulong); \
if (PyErr_Occurred()) \
{ \
return NULL; \

Loading…
Cancel
Save