From 07f075cebb73a96f04ce8747c3b4588571494189 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Sat, 9 Nov 2002 04:26:02 +0000 Subject: 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. --- Modules/bz2module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/bz2module.c b/Modules/bz2module.c index ab9b184..45bffb1 100644 --- a/Modules/bz2module.c +++ b/Modules/bz2module.c @@ -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; -- cgit v0.12