From 9127b4602e4e0e110eab7f2f6a8ac54fe66b0a72 Mon Sep 17 00:00:00 2001 From: Chris Eibl <138194463+chris-eibl@users.noreply.github.com> Date: Mon, 31 Mar 2025 18:33:55 +0200 Subject: [PATCH] GH-131296: Fix incompatible pointer type warning in _winapi.c (GH-131600) --- Modules/_winapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_winapi.c b/Modules/_winapi.c index 9aff28173a50..02817e09b936 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; -- 2.47.3