Update sorting/selection_sort_recursive.c

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
This commit is contained in:
DhruvPasricha 2021-03-02 01:08:40 +05:30 committed by GitHub
parent 684b4bc002
commit c2268d2e8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }