https://github.com/python/cpython/commit/bc26f95e8ff60ccca9818ca8522d2d0cde1b55fb
commit: bc26f95e8ff60ccca9818ca8522d2d0cde1b55fb
branch: main
author: Chris Eibl <138194463+chris-e...@users.noreply.github.com>
committer: gpshead <g...@krypto.org>
date: 2025-03-22T15:44:56-07:00
summary:

GH-131296: fix clang-cl warning on Windows in semaphore.c (GH-131595)

fix clangcl warning

files:
M Modules/_multiprocessing/semaphore.c

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;
 

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to