Explorar o código

Minor correction to `__get_map_header`

gingerBill %!s(int64=3) %!d(string=hai) anos
pai
achega
3fb69d59bb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,
 	}