diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-06-11 18:12:34 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-06-11 18:12:34 (GMT) |
commit | 245671c64adcb7b3c2d04ac35959b47fef74b14e (patch) | |
tree | 911bf8aca1fe9c6068c1c52bbd179e4ab616bc9d /Modules | |
parent | 2c906f15409259f6ac7fe8772e67e6c26590322b (diff) | |
download | cpython-245671c64adcb7b3c2d04ac35959b47fef74b14e.zip cpython-245671c64adcb7b3c2d04ac35959b47fef74b14e.tar.gz cpython-245671c64adcb7b3c2d04ac35959b47fef74b14e.tar.bz2 |
Adaptation to py3k.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_multiprocessing/win32_functions.c | 2 |
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];
|