diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-11-09 04:33:36 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-11-09 04:33:36 +0000 |
commit | 6ee6db81c2a1834f6cce864e0c84e1a166b15e95 (patch) | |
tree | d65fe6447fd8c8d2bb250a8ca0851080e949e65b /Modules/bz2module.c | |
parent | BZ2Decomp_decompress(): Fixed more long vs LONG_LONG confusions. (diff) | |
download | cpython-6ee6db81c2a1834f6cce864e0c84e1a166b15e95.tar.gz cpython-6ee6db81c2a1834f6cce864e0c84e1a166b15e95.tar.bz2 cpython-6ee6db81c2a1834f6cce864e0c84e1a166b15e95.zip |
bz2_compress/bz2_decompress: more casting away LONG_LONG for
_PyString_Resize calls.
Diffstat (limited to 'Modules/bz2module.c')
-rw-r--r-- | Modules/bz2module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/bz2module.c b/Modules/bz2module.c index b4a22fbbee2..ffd17431f84 100644 --- a/Modules/bz2module.c +++ b/Modules/bz2module.c @@ -1978,7 +1978,7 @@ bz2_compress(PyObject *self, PyObject *args, PyObject *kwargs) } if (bzs->avail_out != 0) - _PyString_Resize(&ret, BZS_TOTAL_OUT(bzs)); + _PyString_Resize(&ret, (int)BZS_TOTAL_OUT(bzs)); BZ2_bzCompressEnd(bzs); return ret; @@ -2057,7 +2057,7 @@ bz2_decompress(PyObject *self, PyObject *args) } if (bzs->avail_out != 0) - _PyString_Resize(&ret, BZS_TOTAL_OUT(bzs)); + _PyString_Resize(&ret, (int)BZS_TOTAL_OUT(bzs)); BZ2_bzDecompressEnd(bzs); return ret; |