changeset 14344:e1db8a00188b

win32.py: more explicit definition of _STD_ERROR_HANDLE
author Adrian Buehlmann <adrian@cadifra.com>
date Sun, 15 May 2011 21:27:59 +0200
parents 9ed227f79e47
children bf9a105aed0a
files mercurial/win32.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/win32.py	Mon May 16 17:02:35 2011 -0500
+++ b/mercurial/win32.py	Sun May 15 21:27:59 2011 +0200
@@ -120,7 +120,7 @@
                 ('srWindow', _SMALL_RECT),
                 ('dwMaximumWindowSize', _COORD)]
 
-_STD_ERROR_HANDLE = 0xfffffff4L # (DWORD)-12
+_STD_ERROR_HANDLE = _DWORD(-12).value
 
 def _raiseoserror(name):
     err = ctypes.WinError()