mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-22 05:21:49 +03:00
Update sorting/selection_sort_recursive.c
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
This commit is contained in:
parent
684b4bc002
commit
c2268d2e8f
@ -18,7 +18,7 @@
|
||||
*/
|
||||
void swap(int8_t *first, int8_t *second)
|
||||
{
|
||||
uint8_t temp = *first;
|
||||
int8_t temp = *first;
|
||||
*first = *second;
|
||||
*second = temp;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user