From: Chris Eibl <138194463+chris-eibl@users.noreply.github.com> Date: Sat, 22 Mar 2025 22:44:56 +0000 (+0100) Subject: GH-131296: fix clang-cl warning on Windows in semaphore.c (GH-131595) X-Git-Tag: v3.14.0a7~245 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bc26f95e8ff60ccca9818ca8522d2d0cde1b55fb;p=thirdparty%2FPython%2Fcpython.git GH-131296: fix clang-cl warning on Windows in semaphore.c (GH-131595) fix clangcl warning --- diff --git a/Modules/_multiprocessing/semaphore.c b/Modules/_multiprocessing/semaphore.c index 036db2cd4c6c..a4a2a866ccbf 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;