Author: Richard Plangger <[email protected]>
Branch: release-5.x
Changeset: r83400:403d1e816438
Date: 2016-02-05 20:46 +0100
http://bitbucket.org/pypy/pypy/changeset/403d1e816438/

Log:    call int should provide rffi.INT instead of rffi.SIGNED, this works
        on little endian, but not big (grafted from
        ca18f251c6bfc448ba2d8a46ef5f982f1fc35874)

diff --git a/rpython/rlib/libffi.py b/rpython/rlib/libffi.py
--- a/rpython/rlib/libffi.py
+++ b/rpython/rlib/libffi.py
@@ -326,7 +326,7 @@
     #@jit.oopspec('libffi_call_int(self, funcsym, ll_args)')
     @jit.dont_look_inside
     def _do_call_int(self, funcsym, ll_args):
-        return self._do_call(funcsym, ll_args, rffi.SIGNED)
+        return self._do_call(funcsym, ll_args, rffi.INT)
 
     #@jit.oopspec('libffi_call_float(self, funcsym, ll_args)')
     @jit.dont_look_inside
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to