Kaydet (Commit) 44b054b8 authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

[Patch #1615868 by Lars Gustaebel] Use Py_off_t to fix BZ2File.seek() for offsets > 2Gb

üst 9059843a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment