Skip to content

Commit bc26f95

Browse files
authored
GH-131296: fix clang-cl warning on Windows in semaphore.c (GH-131595)
fix clangcl warning
1 parent 18249d9 commit bc26f95

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)