diff options
author | Armin Rigo <arigo@tunes.org> | 2019-09-29 09:56:49 +0200 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2019-09-29 09:56:49 +0200 |
commit | 8959fd3e2410a2bc76b5e86b8f4fe460a56fa728 (patch) | |
tree | 6be7e02e31843b57aac9cdc46d3fd36c765657eb /lib_pypy/cffi | |
parent | adjust test for systems with limited threads (diff) | |
download | pypy-8959fd3e2410a2bc76b5e86b8f4fe460a56fa728.tar.gz pypy-8959fd3e2410a2bc76b5e86b8f4fe460a56fa728.tar.bz2 pypy-8959fd3e2410a2bc76b5e86b8f4fe460a56fa728.zip |
update to cffi/46c06e1fd666
Diffstat (limited to 'lib_pypy/cffi')
-rw-r--r-- | lib_pypy/cffi/backend_ctypes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_pypy/cffi/backend_ctypes.py b/lib_pypy/cffi/backend_ctypes.py index 679ae057a2..e7956a79cf 100644 --- a/lib_pypy/cffi/backend_ctypes.py +++ b/lib_pypy/cffi/backend_ctypes.py @@ -403,7 +403,7 @@ class CTypesBackend(object): source = _cast_source_to_int(source) return cls(bool(source)) def __int__(self): - return self._value + return int(self._value) if kind == 'char': @classmethod |