aboutsummaryrefslogtreecommitdiff
path: root/core/_preload.odin
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2017-11-10 18:56:47 +0000
committergingerBill <bill@gingerbill.org>2017-11-10 18:56:47 +0000
commitbbddbba34062b18eba6b6ce53b31a350e0816ff1 (patch)
treeda62864757dbad2d771098c57f6532372ee0b1d5 /core/_preload.odin
parent0d01a6f552ab186a5c2bfd7c4f3f8ebed662952c (diff)
Fix cast to uintptr
Diffstat (limited to 'core/_preload.odin')
-rw-r--r--core/_preload.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/_preload.odin b/core/_preload.odin
index 87c28c59e..db9786697 100644
--- a/core/_preload.odin
+++ b/core/_preload.odin
@@ -451,7 +451,7 @@ __get_map_header :: proc "contextless" (m: ^$T/map[$K]$V) -> __Map_Header {
header.is_key_string = is_string;
header.entry_size = int(size_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));
return header;
}