[pypy-commit] pypy win64-stage1: temp hack. something makes this cast necessary. Find the reason!
ctismer
noreply at buildbot.pypy.org
Wed Nov 30 03:58:55 CET 2011
Author: Christian Tismer <tismer at stackless.com>
Branch: win64-stage1
Changeset: r49999:7129b5efa170
Date: 2011-11-30 03:49 +0100
http://bitbucket.org/pypy/pypy/changeset/7129b5efa170/
Log: temp hack. something makes this cast necessary. Find the reason!
diff --git a/pypy/rlib/rdynload.py b/pypy/rlib/rdynload.py
--- a/pypy/rlib/rdynload.py
+++ b/pypy/rlib/rdynload.py
@@ -118,6 +118,9 @@
res = rwin32.LoadLibrary(name)
if not res:
err = rwin32.GetLastError()
+ err = rffi.cast(rwin32.DWORD, err) # why?
+ # XXX this must not be needed, something else is wrong.
+ # remove ASAP after finding the reason for this
raise DLOpenError(rwin32.FormatError(err))
return res
More information about the pypy-commit
mailing list