diff --git a/sorting/selection_sort_recursive.c b/sorting/selection_sort_recursive.c index 4ee7d28a..83bf7eda 100644 --- a/sorting/selection_sort_recursive.c +++ b/sorting/selection_sort_recursive.c @@ -29,7 +29,7 @@ void swap(uint8_t *first, uint8_t *second) * @param size size of array * @return min_index index of element having minimum value. */ -uint8_t findIndex(const uint8_t *arr, const uint8_t& size) +uint8_t findIndex(const uint8_t *arr, const uint8_t size) { if (size == 1) {