Browse Source

use b32 for boolean_t

Beau McCartney 10 months ago
parent
commit
58745bc7ae
1 changed files with 2 additions and 1 deletions
  1. 2 1
      core/sys/darwin/mach_darwin.odin

+ 2 - 1
core/sys/darwin/mach_darwin.odin

@@ -19,7 +19,8 @@ vm_size_t :: distinct c.uintptr_t
 vm_address_t :: vm_offset_t
 vm_offset_t :: distinct c.uintptr_t
 
-boolean_t :: distinct c.int
+// NOTE(beau): typedefed to int in the original headers
+boolean_t :: b32
 
 vm_prot_t :: distinct c.int