diff options
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/x86_64/bits/semaphore.h')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/x86_64/bits/semaphore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/bits/semaphore.h b/nptl/sysdeps/unix/sysv/linux/x86_64/bits/semaphore.h index 3048ac0c4a..28a40b742a 100644 --- a/nptl/sysdeps/unix/sysv/linux/x86_64/bits/semaphore.h +++ b/nptl/sysdeps/unix/sysv/linux/x86_64/bits/semaphore.h @@ -29,7 +29,7 @@ #define SEM_FAILED ((sem_t *) 0) /* Maximum value the semaphore can have. */ -#define SEM_VALUE_MAX ((int) ((~0u) >> 1)) +#define SEM_VALUE_MAX ((int) (2147483647) typedef union |