[glibc] htl: Fix SEM_FAILED type

Samuel Thibault via Glibc-cvs <[email protected]>
Newsgroups gmane.comp.lib.glibc.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4ffc76bb0eba8a46a45a1a98811d769d0ca8627a

commit 4ffc76bb0eba8a46a45a1a98811d769d0ca8627a
Author: Samuel Thibault <[email protected]>
Date:   Mon Apr 6 04:03:38 2026 +0200

    htl: Fix SEM_FAILED type

Diff:
---
 sysdeps/htl/bits/semaphore.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/htl/bits/semaphore.h b/sysdeps/htl/bits/semaphore.h
index 0e5fe5f1e7..a8bb13d515 100644
--- a/sysdeps/htl/bits/semaphore.h
+++ b/sysdeps/htl/bits/semaphore.h
@@ -36,6 +36,6 @@ typedef union
   long int __align;
 } sem_t;
 
-#define SEM_FAILED ((void *) 0)
+#define SEM_FAILED ((sem_t *) 0)
 
 #endif /* bits/semaphore.h */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.