From 9ddb71af87ddb2b4632797d8a6f2330d23cf3b7f Mon Sep 17 00:00:00 2001 From: Chris Eibl <138194463+chris-eibl@users.noreply.github.com> Date: Sun, 23 Mar 2025 08:15:30 +0100 Subject: [PATCH] fix warning : incompatible pointer types --- Modules/_winapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;