https://github.com/python/cpython/commit/9127b4602e4e0e110eab7f2f6a8ac54fe66b0a72
commit: 9127b4602e4e0e110eab7f2f6a8ac54fe66b0a72
branch: main
author: Chris Eibl <[email protected]>
committer: zooba <[email protected]>
date: 2025-03-31T17:33:55+01:00
summary:

GH-131296: Fix incompatible pointer type warning in _winapi.c (GH-131600)

files:
M Modules/_winapi.c

diff --git a/Modules/_winapi.c b/Modules/_winapi.c
index 9aff28173a5042..02817e09b936f3 100644
--- a/Modules/_winapi.c
+++ b/Modules/_winapi.c
@@ -609,7 +609,7 @@ _winapi_CreateJunction_impl(PyObject *module, LPCWSTR 
src_path,
         /* overallocate by a few array elements */
         LUID_AND_ATTRIBUTES privs[4];
     } tp, previousTp;
-    int previousTpSize = 0;
+    DWORD previousTpSize = 0;
 
     /* Reparse data buffer */
     const USHORT prefix_len = 4;

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to