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
|
@ -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…
Reference in New Issue