gingerBill 4 years ago
parent
commit
8e1120bc09
1 changed files with 1 additions and 1 deletions
  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;
 	return false;
 }
 }
 
 
-fill :: proc(array: $T/[]$E, value: T) {
+fill :: proc(array: $T/[]$E, value: E) {
 	for _, i in array {
 	for _, i in array {
 		array[i] = value;
 		array[i] = value;
 	}
 	}