diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-02-15 17:27:45 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-02-15 17:27:45 +0000 |
commit | 26a6348f77faff1083d501950812ea9f68eb9547 (patch) | |
tree | 8aebd3631f3b60d9753cd8271c0ad7c1379af1a2 /Modules/bz2module.c | |
parent | ad4cf65e988f853a3b32a7da30198ce9c6c73c02 (diff) | |
download | cpython-26a6348f77faff1083d501950812ea9f68eb9547.tar.gz |
Merge ssize_t branch.
Diffstat (limited to 'Modules/bz2module.c')
-rw-r--r-- | Modules/bz2module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/bz2module.c b/Modules/bz2module.c index 9f30f8a988..a0f66ee939 100644 --- a/Modules/bz2module.c +++ b/Modules/bz2module.c @@ -908,7 +908,7 @@ BZ2File_writelines(BZ2FileObject *self, PyObject *seq) PyObject *v = PyList_GET_ITEM(list, i); if (!PyString_Check(v)) { const char *buffer; - int len; + Py_ssize_t len; if (PyObject_AsCharBuffer(v, &buffer, &len)) { PyErr_SetString(PyExc_TypeError, "writelines() " |