Skip to content

Commit 9d19630

Browse files
chris-eiblseehwan80
authored andcommitted
pythonGH-131296: Fix incompatible pointer type warning in _winapi.c (pythonGH-131600)
1 parent 09816ea commit 9d19630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_winapi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ _winapi_CreateJunction_impl(PyObject *module, LPCWSTR src_path,
609609
/* overallocate by a few array elements */
610610
LUID_AND_ATTRIBUTES privs[4];
611611
} tp, previousTp;
612-
int previousTpSize = 0;
612+
DWORD previousTpSize = 0;
613613

614614
/* Reparse data buffer */
615615
const USHORT prefix_len = 4;

0 commit comments

Comments
 (0)