From 3ceeecfab94107a60d5c56264a05439e94059ac8 Mon Sep 17 00:00:00 2001 From: DhruvPasricha <78498002+DhruvPasricha@users.noreply.github.com> Date: Sun, 28 Feb 2021 23:55:33 +0530 Subject: [PATCH] Update sorting/selection_sort_recursive.c Co-authored-by: David Leal --- sorting/selection_sort_recursive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sorting/selection_sort_recursive.c b/sorting/selection_sort_recursive.c index 83bf7eda..4ee7d28a 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) {