mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
DCPacker chaged to deal with unsigned
This commit is contained in:
parent
554430ab21
commit
7862f07d3c
@ -691,7 +691,7 @@ pack_object(PyObject *object) {
|
||||
if (PyInt_Check(object)) {
|
||||
#else
|
||||
if (PyLong_Check(object)) {
|
||||
pack_int(PyLong_AsUnsignedLong(object));
|
||||
pack_uint(PyLong_AsUnsignedLong(object));
|
||||
} else if (PyInt_Check(object)) {
|
||||
#endif
|
||||
pack_int(PyInt_AS_LONG(object));
|
||||
|
Loading…
x
Reference in New Issue
Block a user