commit | 07f075cebb73a96f04ce8747c3b4588571494189 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Sat Nov 09 04:26:02 2002 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Sat Nov 09 04:26:02 2002 +0000 |
tree | d0063e7ac7e211626a5fb47929e8a045f499a5d3 | |
parent | a17c0c4509db6545eaf770c0586f37028745f07a [diff] |
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.
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 @@ char *data; int datasize; int bufsize = SMALLCHUNK; - long totalout; + LONG_LONG totalout; PyObject *ret = NULL; bz_stream *bzs = &self->bzs; int bzerror;