mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
[Patch #1615868 by Lars Gustaebel] Use Py_off_t to fix BZ2File.seek() for offsets > 2Gb
This commit is contained in:
parent
9059843a60
commit
44b054b84a
1 changed files with 1 additions and 1 deletions
|
@ -996,7 +996,7 @@ BZ2File_seek(BZ2FileObject *self, PyObject *args)
|
|||
char small_buffer[SMALLCHUNK];
|
||||
char *buffer = small_buffer;
|
||||
size_t buffersize = SMALLCHUNK;
|
||||
int bytesread = 0;
|
||||
Py_off_t bytesread = 0;
|
||||
size_t readsize;
|
||||
int chunksize;
|
||||
int bzerror;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue