From eddbe7a638551eac3e6b50d7804544a1879610e6 Mon Sep 17 00:00:00 2001 From: Chris Eibl <138194463+chris-eibl@users.noreply.github.com> Date: Sat, 22 Mar 2025 21:52:29 +0100 Subject: [PATCH] fix clangcl warning --- Modules/_multiprocessing/semaphore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_multiprocessing/semaphore.c b/Modules/_multiprocessing/semaphore.c index 036db2cd4c6c85..a4a2a866ccbfce 100644 --- a/Modules/_multiprocessing/semaphore.c +++ b/Modules/_multiprocessing/semaphore.c @@ -65,7 +65,7 @@ class _multiprocessing.SemLock "SemLockObject *" "&_PyMp_SemLockType" #define SEM_UNLINK(name) 0 static int -_GetSemaphoreValue(HANDLE handle, long *value) +_GetSemaphoreValue(HANDLE handle, int *value) { long previous;