[hurd,commited] htl: Fix SEM_FAILED type

Samuel Thibault <[email protected]>
Newsgroups gmane.os.hurd.cvs,gmane.comp.lib.glibc.alpha
Message-ID <[email protected]>
---
 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 */
-- 
2.53.0
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.