Browse Source

Minor correction to `__get_map_header`

gingerBill 3 năm trước cách đây
mục cha
commit
3fb69d59bb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      core/runtime/dynamic_map_internal.odin

+ 1 - 1
core/runtime/dynamic_map_internal.odin

@@ -139,7 +139,7 @@ __get_map_header :: proc "contextless" (m: ^$T/map[$K]$V) -> Map_Header {
 	header := Map_Header{m = (^Raw_Map)(m)}
 	Entry :: struct {
 		hash:  uintptr,
-		next:  int,
+		next:  Map_Index,
 		key:   K,
 		value: V,
 	}