commit | bca9694ac1cc41f091fb78badbc1d1673b35077a | [log] [tgz] |
---|---|---|
author | Zachary Ware <zachary.ware@gmail.com> | Tue May 06 11:42:37 2014 -0500 |
committer | Zachary Ware <zachary.ware@gmail.com> | Tue May 06 11:42:37 2014 -0500 |
tree | bce5c46f76a3ddd6fade75805ad147480cc9f1f2 | |
parent | ed49265b91222b1c1c7e5fe9c923cbd7651d788d [diff] [blame] |
Issue #21442: Fix MSVC compiler warning introduced by issue21377.
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 @@ 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;