mirror of https://github.com/python/cpython
Issue #21442: Fix MSVC compiler warning introduced by issue21377.
This commit is contained in:
parent
ed49265b91
commit
bca9694ac1
|
@ -2809,7 +2809,7 @@ PyBytes_Concat(PyObject **pv, PyObject *w)
|
||||||
|
|
||||||
if (Py_REFCNT(*pv) == 1 && PyBytes_CheckExact(*pv)) {
|
if (Py_REFCNT(*pv) == 1 && PyBytes_CheckExact(*pv)) {
|
||||||
/* Only one reference, so we can resize in place */
|
/* Only one reference, so we can resize in place */
|
||||||
size_t oldsize;
|
Py_ssize_t oldsize;
|
||||||
Py_buffer wb;
|
Py_buffer wb;
|
||||||
|
|
||||||
wb.len = -1;
|
wb.len = -1;
|
||||||
|
|
Loading…
Reference in New Issue