Kaydet (Commit) a17c0c45 authored tarafından Tim Peters's avatar Tim Peters

Repaired signed-vs-unsigned mismatch.

üst e3228098
......@@ -1047,7 +1047,7 @@ BZ2File_seek(BZ2FileObject *self, PyObject *args)
/* Before getting here, offset must be set to the number of bytes
* to walk forward. */
for (;;) {
if (offset-bytesread > buffersize)
if ((size_t)offset-bytesread > buffersize)
readsize = buffersize;
else
readsize = offset-bytesread;
......
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