Author: Armin Rigo <[email protected]>
Branch: ffi-backend
Changeset: r56493:782ea30955c5
Date: 2012-07-28 16:10 +0200
http://bitbucket.org/pypy/pypy/changeset/782ea30955c5/

Log:    Another similar fix on 32-bit.

diff --git a/pypy/jit/backend/llgraph/llimpl.py 
b/pypy/jit/backend/llgraph/llimpl.py
--- a/pypy/jit/backend/llgraph/llimpl.py
+++ b/pypy/jit/backend/llgraph/llimpl.py
@@ -1520,7 +1520,7 @@
     ll_p = rffi.cast(rffi.CCHARP, struct)
     ll_p = rffi.cast(lltype.Ptr(TYPE), rffi.ptradd(ll_p, offset))
     value = ll_p[0]
-    return rffi.cast(lltype.Float, value)
+    return rffi.cast(longlong.FLOATSTORAGE, value)
 
 def do_raw_store_int(struct, offset, descrofs, value):
     TYPE = symbolic.Size2Type[descrofs]
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to