mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
[python] hate
This commit is contained in:
parent
5ab251e8d8
commit
e4cf772a4d
@ -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…
x
Reference in New Issue
Block a user