From 7c1ebdffa635c1e83bea0b51b1135c8535e40989 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 17 Apr 2004 23:06:39 +0000 Subject: [PATCH] (SEM_VALUE_MAX): Jusr use a plain number. --- sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h b/sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h index 65298fa..6dadfda 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 -- 2.7.4