From 7862f07d3c362be96a0a4e51040e22546008c534 Mon Sep 17 00:00:00 2001 From: Roger Hughston Date: Fri, 27 Apr 2007 02:20:23 +0000 Subject: [PATCH] DCPacker chaged to deal with unsigned --- direct/src/dcparser/dcPacker.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/dcparser/dcPacker.cxx b/direct/src/dcparser/dcPacker.cxx index f70302fba1..3c9d0afe26 100755 --- a/direct/src/dcparser/dcPacker.cxx +++ b/direct/src/dcparser/dcPacker.cxx @@ -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));