summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-11-09 04:26:02 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-11-09 04:26:02 (GMT)
commit07f075cebb73a96f04ce8747c3b4588571494189 (patch)
treed0063e7ac7e211626a5fb47929e8a045f499a5d3 /Modules
parenta17c0c4509db6545eaf770c0586f37028745f07a (diff)
downloadcpython-07f075cebb73a96f04ce8747c3b4588571494189.zip
cpython-07f075cebb73a96f04ce8747c3b4588571494189.tar.gz
cpython-07f075cebb73a96f04ce8747c3b4588571494189.tar.bz2
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.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/bz2module.c2
1 files changed, 1 insertions, 1 deletions
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;