diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2014-05-06 16:42:37 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2014-05-06 16:42:37 (GMT) |
commit | bca9694ac1cc41f091fb78badbc1d1673b35077a (patch) | |
tree | bce5c46f76a3ddd6fade75805ad147480cc9f1f2 | |
parent | ed49265b91222b1c1c7e5fe9c923cbd7651d788d (diff) | |
download | cpython-bca9694ac1cc41f091fb78badbc1d1673b35077a.zip cpython-bca9694ac1cc41f091fb78badbc1d1673b35077a.tar.gz cpython-bca9694ac1cc41f091fb78badbc1d1673b35077a.tar.bz2 |
Issue #21442: Fix MSVC compiler warning introduced by issue21377.
-rw-r--r-- | Objects/bytesobject.c | 2 |
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; |