Author: Christian Tismer <tis...@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 _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit