[pypy-svn] r73933 - pypy/branch/cpython-extension/pypy/module/cpyext
afa at codespeak.net
afa at codespeak.net
Wed Apr 21 08:38:03 CEST 2010
Author: afa
Date: Wed Apr 21 08:38:02 2010
New Revision: 73933
Modified:
pypy/branch/cpython-extension/pypy/module/cpyext/longobject.py
Log:
Translation fix
Modified: pypy/branch/cpython-extension/pypy/module/cpyext/longobject.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/module/cpyext/longobject.py (original)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/longobject.py Wed Apr 21 08:38:02 2010
@@ -61,7 +61,7 @@
no digits, ValueError will be raised."""
s = rffi.charp2str(str)
w_str = space.wrap(s)
- w_base = space.wrap(base)
+ w_base = space.wrap(rffi.cast(lltype.Signed, base))
if pend:
pend[0] = rffi.ptradd(str, len(s))
return space.call_function(space.w_long, w_str, w_base)
More information about the Pypy-commit
mailing list