---
 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


Reply via email to