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

fix clangcl warning
This commit is contained in:
Chris Eibl 2025-03-22 23:44:56 +01:00 committed by GitHub
parent 18249d9383
commit bc26f95e8f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;