From: Zachary Ware Date: Tue, 6 May 2014 16:42:37 +0000 (-0500) Subject: Issue #21442: Fix MSVC compiler warning introduced by issue21377. X-Git-Tag: v3.5.0a1~1726 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bca9694ac1cc41f091fb78badbc1d1673b35077a;p=thirdparty%2FPython%2Fcpython.git Issue #21442: Fix MSVC compiler warning introduced by issue21377. --- diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c index ca7c08520dbc..911a93b9caca 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;