diff options
-rw-r--r-- | typewrappers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/typewrappers.c b/typewrappers.c index 1395728..4c5c1aa 100644 --- a/typewrappers.c +++ b/typewrappers.c @@ -32,7 +32,7 @@ libvirt_intWrap(int val) PyObject * libvirt_uintWrap(unsigned int val) { - return PyLong_FromLong((long) val); + return PyLong_FromUnsignedLong(val); } PyObject * |