Skip to content

Commit c2268d2

Browse files
Update sorting/selection_sort_recursive.c
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
1 parent 684b4bc commit c2268d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sorting/selection_sort_recursive.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919
void swap(int8_t *first, int8_t *second)
2020
{
21-
uint8_t temp = *first;
21+
int8_t temp = *first;
2222
*first = *second;
2323
*second = temp;
2424
}

0 commit comments

Comments
 (0)