From: Chris Eibl <138194463+chris-eibl@users.noreply.github.com> Date: Mon, 31 Mar 2025 16:33:55 +0000 (+0200) Subject: GH-131296: Fix incompatible pointer type warning in _winapi.c (GH-131600) X-Git-Tag: v3.14.0a7~124 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9127b4602e4e0e110eab7f2f6a8ac54fe66b0a72;p=thirdparty%2FPython%2Fcpython.git GH-131296: Fix incompatible pointer type warning in _winapi.c (GH-131600) --- 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;