mirror of
https://github.moeyy.xyz/https://github.com/TheAlgorithms/C.git
synced 2023-10-11 15:56:24 +08: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)
|
void swap(int8_t *first, int8_t *second)
|
||||||
{
|
{
|
||||||
uint8_t temp = *first;
|
int8_t temp = *first;
|
||||||
*first = *second;
|
*first = *second;
|
||||||
*second = temp;
|
*second = temp;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user