[pypy-svn] r72407 - pypy/trunk/pypy/rpython/module

arigo at codespeak.net arigo at codespeak.net
Fri Mar 19 12:11:50 CET 2010


Author: arigo
Date: Fri Mar 19 12:11:48 2010
New Revision: 72407

Modified:
   pypy/trunk/pypy/rpython/module/ll_os.py
Log:
Fix this: it is called typically with the result of GetLastError(),
which is a DWORD (i.e. an unsigned integer).


Modified: pypy/trunk/pypy/rpython/module/ll_os.py
==============================================================================
--- pypy/trunk/pypy/rpython/module/ll_os.py	(original)
+++ pypy/trunk/pypy/rpython/module/ll_os.py	Fri Mar 19 12:11:48 2010
@@ -1544,7 +1544,7 @@
 
         @registering(rwin32.FormatError)
         def register_rwin32_FormatError(self):
-            return extdef([int], str,
+            return extdef([rwin32.DWORD], str,
                           "rwin32_FormatError",
                           llimpl=rwin32.llimpl_FormatError,
                           ooimpl=rwin32.fake_FormatError)



More information about the Pypy-commit mailing list