]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
htl: Fix SEM_FAILED type
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 6 Apr 2026 02:03:38 +0000 (04:03 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 6 Apr 2026 02:06:52 +0000 (04:06 +0200)
sysdeps/htl/bits/semaphore.h

index 0e5fe5f1e7ab3cf7a684e6c3e71c09065d38174c..a8bb13d515fffcb141f0b376093d287449667445 100644 (file)
@@ -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 */