mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
ctfmerge: Remove function cast of strcompare() for qsort()
Reviewed by: emaste
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D43715
(cherry picked from commit f73124b077)
This commit is contained in:
parent
a9ef2c901a
commit
ac5b3cba91
1 changed files with 1 additions and 1 deletions
|
|
@ -886,7 +886,7 @@ main(int argc, char **argv)
|
|||
|
||||
for (i = 0; i < nifiles; i++)
|
||||
tifiles[i] = argv[optind + i];
|
||||
qsort(tifiles, nifiles, sizeof (char *), (int (*)())strcompare);
|
||||
qsort(tifiles, nifiles, sizeof (char *), strcompare);
|
||||
|
||||
ifiles[0] = tifiles[0];
|
||||
for (idx = 0, tidx = 1; tidx < nifiles; tidx++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue