[pypy-commit] pypy dynamic-specialized-tuple: fix

alex_gaynor noreply at buildbot.pypy.org
Mon Apr 23 18:03:27 CEST 2012


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: dynamic-specialized-tuple
Changeset: r54683:2bee4cac6100
Date: 2012-04-23 12:02 -0400
http://bitbucket.org/pypy/pypy/changeset/2bee4cac6100/

Log:	fix

diff --git a/pypy/rlib/rerased_raw.py b/pypy/rlib/rerased_raw.py
--- a/pypy/rlib/rerased_raw.py
+++ b/pypy/rlib/rerased_raw.py
@@ -308,7 +308,7 @@
         elif elem == INT:
             yield rffi.cast(lltype.Signed, storage.data[i])
         elif elem == FLOAT:
-            yield longlong2float.longlong2float(storage.data[i])
+            yield longlong2float.longlong2float(rffi.cast(lltype.Signed, storage.data[i]))
         elif elem == BOOL:
             yield rffi.cast(lltype.Bool, storage.data[i])
         else:


More information about the pypy-commit mailing list