diff options
| author | Ulrich Drepper <drepper@redhat.com> | 2004-04-17 23:06:39 +0000 |
|---|---|---|
| committer | Ulrich Drepper <drepper@redhat.com> | 2004-04-17 23:06:39 +0000 |
| commit | 7c1ebdffa635c1e83bea0b51b1135c8535e40989 (patch) | |
| tree | 58e7293f765fa1c5bb8f91b1c2fc7cad0d426223 | |
| parent | ce0cf67279c7b60a019caeccb0c7b19886cf58fb (diff) | |
| download | glibc-7c1ebdffa635c1e83bea0b51b1135c8535e40989.tar.xz glibc-7c1ebdffa635c1e83bea0b51b1135c8535e40989.zip | |
(SEM_VALUE_MAX): Jusr use a plain number.
| -rw-r--r-- | sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h b/sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h index 65298fae48..6dadfda206 100644 --- a/sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h +++ b/sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h @@ -27,7 +27,7 @@ #define SEM_FAILED ((sem_t *) 0) /* Maximum value the semaphore can have. */ -#define SEM_VALUE_MAX ((int) ((~0u) >> 1)) +#define SEM_VALUE_MAX (2147483647) typedef union |
