Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r98285:f1ac06bafd45 Date: 2019-12-13 13:49 +0100 http://bitbucket.org/pypy/pypy/changeset/f1ac06bafd45/
Log: Fix for pypy.module._file.test.test_large_file on 32bit diff --git a/rpython/rlib/streamio.py b/rpython/rlib/streamio.py --- a/rpython/rlib/streamio.py +++ b/rpython/rlib/streamio.py @@ -317,7 +317,8 @@ os.lseek(self.fd, offset, whence) def tell(self): - return os.lseek(self.fd, 0, 1) + result = os.lseek(self.fd, 0, 1) + return r_longlong(result) def read(self, n): assert isinstance(n, int) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit