diff --git a/sorting/selection_sort_recursive.c b/sorting/selection_sort_recursive.c index 60e04da9..7b8e20b0 100644 --- a/sorting/selection_sort_recursive.c +++ b/sorting/selection_sort_recursive.c @@ -26,7 +26,7 @@ void swap(int *first, int *second) * @param arr array to be sorted * @param size size of array */ -int findIndex(int *arr, int size) +int findIndex(const int *arr, const int size) { if (size == 1) {