Commit 245671c6 authored by Amaury Forgeot d'Arc's avatar Amaury Forgeot d'Arc

Adaptation to py3k.

parent 2c906f15
......@@ -176,7 +176,7 @@ win32_SetNamedPipeHandleState(PyObject *self, PyObject *args)
for (i = 0 ; i < 3 ; i++) {
if (oArgs[i] != Py_None) {
dwArgs[i] = PyInt_AsUnsignedLongMask(oArgs[i]);
dwArgs[i] = PyLong_AsUnsignedLongMask(oArgs[i]);
if (PyErr_Occurred())
return NULL;
pArgs[i] = &dwArgs[i];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment