This commit is contained in:
gingerBill
2024-01-17 22:44:28 +00:00
parent a8021f03a6
commit 276284cbec

View File

@@ -149,7 +149,7 @@ _platform_memory_init :: proc() {
}
_map_file :: proc "contextless" (fd: os.Handle, size: i64, flags: Map_File_Flags) -> (data: []byte, error: Map_File_Error) {
_map_file :: proc "contextless" (fd: uintptr, size: i64, flags: Map_File_Flags) -> (data: []byte, error: Map_File_Error) {
page_flags: u32
if flags == {.Read} {
page_flags = PAGE_READONLY