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;