mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
smb: Don't cast the qsort comparison function pointer.
Inspired by FSP commit c3a6ca3ef0
.
This time, the cast was a no-op though.
This commit is contained in:
parent
9665f1b813
commit
e08d040c4c
@ -232,8 +232,7 @@ sort_and_display_entries(int dir, const unsigned char dircolor[])
|
||||
table[size] = new_entry;
|
||||
size++;
|
||||
}
|
||||
qsort(table, size, sizeof(*table),
|
||||
(int (*)(const void *, const void *)) compare);
|
||||
qsort(table, size, sizeof(*table), compare);
|
||||
|
||||
for (i = 0; i < size; i++) {
|
||||
display_entry(table[i], dircolor);
|
||||
|
Loading…
Reference in New Issue
Block a user