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:
Tim Peters 2002-11-09 04:26:02 +00:00
parent a17c0c4509
commit 07f075cebb
1 changed files with 1 additions and 1 deletions

View File

@ -1432,7 +1432,7 @@ BZ2Comp_compress(BZ2CompObject *self, PyObject *args)
char *data; char *data;
int datasize; int datasize;
int bufsize = SMALLCHUNK; int bufsize = SMALLCHUNK;
long totalout; LONG_LONG totalout;
PyObject *ret = NULL; PyObject *ret = NULL;
bz_stream *bzs = &self->bzs; bz_stream *bzs = &self->bzs;
int bzerror; int bzerror;