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

This commit is contained in:
Chris Eibl 2025-03-31 18:33:55 +02:00 committed by GitHub
parent 4940d96135
commit 9127b4602e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;