summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2014-05-06 16:42:37 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2014-05-06 16:42:37 (GMT)
commitbca9694ac1cc41f091fb78badbc1d1673b35077a (patch)
treebce5c46f76a3ddd6fade75805ad147480cc9f1f2
parented49265b91222b1c1c7e5fe9c923cbd7651d788d (diff)
downloadcpython-bca9694ac1cc41f091fb78badbc1d1673b35077a.zip
cpython-bca9694ac1cc41f091fb78badbc1d1673b35077a.tar.gz
cpython-bca9694ac1cc41f091fb78badbc1d1673b35077a.tar.bz2
Issue #21442: Fix MSVC compiler warning introduced by issue21377.
-rw-r--r--Objects/bytesobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c
index ca7c085..911a93b 100644
--- a/Objects/bytesobject.c
+++ b/Objects/bytesobject.c
@@ -2809,7 +2809,7 @@ PyBytes_Concat(PyObject **pv, PyObject *w)
if (Py_REFCNT(*pv) == 1 && PyBytes_CheckExact(*pv)) {
/* Only one reference, so we can resize in place */
- size_t oldsize;
+ Py_ssize_t oldsize;
Py_buffer wb;
wb.len = -1;