mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Fix more ssize_t problems.
This commit is contained in:
parent
8694a6db0e
commit
26fd9607c7
3 changed files with 16 additions and 8 deletions
|
@ -831,7 +831,7 @@ decoder_feed_buffer(MultibyteStatefulDecoderContext *ctx,
|
|||
{
|
||||
while (buf->inbuf < buf->inbuf_end) {
|
||||
Py_ssize_t inleft, outleft;
|
||||
int r;
|
||||
Py_ssize_t r;
|
||||
|
||||
inleft = (Py_ssize_t)(buf->inbuf_end - buf->inbuf);
|
||||
outleft = (Py_ssize_t)(buf->outbuf_end - buf->outbuf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue