mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
BZ2Comp_compress(): changed decl of totalout to LONG_LONG, since it's
solely used to hold LONG_LONG values, and the compiler rightfully warns about potential data loss otherwise.
This commit is contained in:
parent
a17c0c4509
commit
07f075cebb
1 changed files with 1 additions and 1 deletions
|
|
@ -1432,7 +1432,7 @@ BZ2Comp_compress(BZ2CompObject *self, PyObject *args)
|
|||
char *data;
|
||||
int datasize;
|
||||
int bufsize = SMALLCHUNK;
|
||||
long totalout;
|
||||
LONG_LONG totalout;
|
||||
PyObject *ret = NULL;
|
||||
bz_stream *bzs = &self->bzs;
|
||||
int bzerror;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue