GH-131296: fix clang-cl warning on Windows in semaphore.c (GH-131595)
fix clangcl warning
This commit is contained in:
parent
18249d9383
commit
bc26f95e8f
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user