mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Repaired signed-vs-unsigned mismatch.
This commit is contained in:
parent
e32280987c
commit
a17c0c4509
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue