[pypy-commit] pypy release-1.6.x: Tweak. (Don't really remember why, but this was needed at some point...)

arigo noreply at buildbot.pypy.org
Tue Aug 23 13:02:26 CEST 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: release-1.6.x
Changeset: r46724:321866c492ed
Date: 2011-08-23 13:06 +0200
http://bitbucket.org/pypy/pypy/changeset/321866c492ed/

Log:	Tweak. (Don't really remember why, but this was needed at some
	point...)

diff --git a/lib_pypy/_subprocess.py b/lib_pypy/_subprocess.py
--- a/lib_pypy/_subprocess.py
+++ b/lib_pypy/_subprocess.py
@@ -35,7 +35,7 @@
 _DuplicateHandle.restype = ctypes.c_int
     
 _WaitForSingleObject = _kernel32.WaitForSingleObject
-_WaitForSingleObject.argtypes = [ctypes.c_int, ctypes.c_int]
+_WaitForSingleObject.argtypes = [ctypes.c_int, ctypes.c_uint]
 _WaitForSingleObject.restype = ctypes.c_int
 
 _GetExitCodeProcess = _kernel32.GetExitCodeProcess


More information about the pypy-commit mailing list