mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Fix cast to uintptr
This commit is contained in:
+1
-1
@@ -451,7 +451,7 @@ __get_map_header :: proc "contextless" (m: ^$T/map[$K]$V) -> __Map_Header {
|
|||||||
header.is_key_string = is_string;
|
header.is_key_string = is_string;
|
||||||
header.entry_size = int(size_of(Entry));
|
header.entry_size = int(size_of(Entry));
|
||||||
header.entry_align = int(align_of(Entry));
|
header.entry_align = int(align_of(Entry));
|
||||||
header.value_offset = int(offset_of(Entry, value));
|
header.value_offset = uintptr(offset_of(Entry, value));
|
||||||
header.value_size = int(size_of(V));
|
header.value_size = int(size_of(V));
|
||||||
return header;
|
return header;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user