소스 검색

Minor correction to `__get_map_header`

gingerBill 3 년 전
부모
커밋
3fb69d59bb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,
 	}