Skip to content

Commit 037dcae

Browse files
chris-eiblseehwan80
authored andcommitted
pythonGH-131296: fix clang-cl warning on Windows in semaphore.c (pythonGH-131595)
fix clangcl warning
1 parent ef44fb4 commit 037dcae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_multiprocessing/semaphore.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class _multiprocessing.SemLock "SemLockObject *" "&_PyMp_SemLockType"
6565
#define SEM_UNLINK(name) 0
6666

6767
static int
68-
_GetSemaphoreValue(HANDLE handle, long *value)
68+
_GetSemaphoreValue(HANDLE handle, int *value)
6969
{
7070
long previous;
7171

0 commit comments

Comments
 (0)