[pypy-commit] pypy errno-again: translation fix

arigo noreply at buildbot.pypy.org
Sun Jan 18 23:58:45 CET 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: errno-again
Changeset: r75431:73ecbbb25dba
Date: 2015-01-18 23:58 +0100
http://bitbucket.org/pypy/pypy/changeset/73ecbbb25dba/

Log:	translation fix

diff --git a/rpython/rlib/_rsocket_rffi.py b/rpython/rlib/_rsocket_rffi.py
--- a/rpython/rlib/_rsocket_rffi.py
+++ b/rpython/rlib/_rsocket_rffi.py
@@ -660,7 +660,7 @@
     WSAStartup = external('WSAStartup', [rwin32.WORD, lltype.Ptr(WSAData)],
                           rffi.INT)
 
-    _WSAGetLastError = external('WSAGetLastError', [], rffi.INT,
+    _WSAGetLastError = external('WSAGetLastError', [], rwin32.DWORD,
                                 _nowrapper=True, sandboxsafe=True)
 
     geterrno = rwin32.GetLastError_saved


More information about the pypy-commit mailing list