[pypy-commit] pypy s390x-backend: refactoring issue
plan_rich
pypy.commits at gmail.com
Fri Feb 5 16:43:26 EST 2016
Author: Richard Plangger <planrichi at gmail.com>
Branch: s390x-backend
Changeset: r82096:a84f5c5bcec6
Date: 2016-02-05 22:42 +0100
http://bitbucket.org/pypy/pypy/changeset/a84f5c5bcec6/
Log: refactoring issue
diff --git a/rpython/rlib/libffi.py b/rpython/rlib/libffi.py
--- a/rpython/rlib/libffi.py
+++ b/rpython/rlib/libffi.py
@@ -271,7 +271,7 @@
assert not types.is_struct(self.restype)
for res in NARROW_INTEGER_TYPES:
if RESULT is res:
- res = self._do_call_int(self.funcsym, ll_args, rffi.CHAR)
+ res = self._do_call_int(self.funcsym, ll_args, RESULT)
break
else:
res = self._do_call_int(self.funcsym, ll_args, rffi.SIGNED)
More information about the pypy-commit
mailing list