]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/sync_sema.c
xnu-1228.12.14.tar.gz
[apple/xnu.git] / osfmk / kern / sync_sema.c
index 9ddb7e909153e20dc93990bce4b1c4821aafb473..ec121838339cb8c7b3a5af8b1177e45ab36c2511 100644 (file)
@@ -59,7 +59,7 @@
 #include <kern/mach_param.h>
 
 static unsigned int semaphore_event;
-#define SEMAPHORE_EVENT ((event64_t)&semaphore_event)
+#define SEMAPHORE_EVENT CAST_EVENT64_T(&semaphore_event)
 
 zone_t semaphore_zone;
 unsigned int semaphore_max = SEMAPHORE_MAX;