diff options
Diffstat (limited to 'cpukit/posix/include/semaphore.h')
-rw-r--r-- | cpukit/posix/include/semaphore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/include/semaphore.h b/cpukit/posix/include/semaphore.h index b22453d2af..502150b4ad 100644 --- a/cpukit/posix/include/semaphore.h +++ b/cpukit/posix/include/semaphore.h @@ -45,7 +45,7 @@ typedef int sem_t; /* * Bad semaphore Id */ -#define SEM_FAILED (sem_t *) -1 +#define SEM_FAILED ((sem_t *)0) /* * 11.2.1 Initialize an Unnamed Semaphore, P1003.1b-1993, p.219 |