gingerBill пре 4 година
родитељ
комит
8e1120bc09
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      core/slice/slice.odin

+ 1 - 1
core/slice/slice.odin

@@ -133,7 +133,7 @@ has_suffix :: proc(array: $T/[]$E, needle: T) -> bool where intrinsics.type_is_c
 	return false;
 }
 
-fill :: proc(array: $T/[]$E, value: T) {
+fill :: proc(array: $T/[]$E, value: E) {
 	for _, i in array {
 		array[i] = value;
 	}