diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/src/semopen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/semopen.c b/cpukit/posix/src/semopen.c index 0568ee69ec..4e5b61c44f 100644 --- a/cpukit/posix/src/semopen.c +++ b/cpukit/posix/src/semopen.c @@ -139,6 +139,6 @@ return_id: the_semaphore->Semaphore_id = the_semaphore->Object.id; return &the_semaphore->Semaphore_id; #else - return (sem_t *)&the_semaphore->Object.id; + return &the_semaphore->Object.id; #endif } |