summaryrefslogtreecommitdiffstats
path: root/Modules/_multiprocessing
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-06-11 18:12:34 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-06-11 18:12:34 (GMT)
commit245671c64adcb7b3c2d04ac35959b47fef74b14e (patch)
tree911bf8aca1fe9c6068c1c52bbd179e4ab616bc9d /Modules/_multiprocessing
parent2c906f15409259f6ac7fe8772e67e6c26590322b (diff)
downloadcpython-245671c64adcb7b3c2d04ac35959b47fef74b14e.zip
cpython-245671c64adcb7b3c2d04ac35959b47fef74b14e.tar.gz
cpython-245671c64adcb7b3c2d04ac35959b47fef74b14e.tar.bz2
Adaptation to py3k.
Diffstat (limited to 'Modules/_multiprocessing')
-rw-r--r--Modules/_multiprocessing/win32_functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_multiprocessing/win32_functions.c b/Modules/_multiprocessing/win32_functions.c
index 2bb1134..cd98b63 100644
--- a/Modules/_multiprocessing/win32_functions.c
+++ b/Modules/_multiprocessing/win32_functions.c
@@ -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];