]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
BZ2Comp_compress(): changed decl of totalout to LONG_LONG, since it's
authorTim Peters <tim.peters@gmail.com>
Sat, 9 Nov 2002 04:26:02 +0000 (04:26 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 9 Nov 2002 04:26:02 +0000 (04:26 +0000)
solely used to hold LONG_LONG values, and the compiler rightfully warns
about potential data loss otherwise.

Modules/bz2module.c

index ab9b184e0bac4b30b5d0a1293662603fe9fb82cb..45bffb16210ab6dcaecd22cdf3a390141b9985d8 100644 (file)
@@ -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;