count: fix types in sorting comparison callbacks
authorEugene Syromyatnikov <evgsyr@gmail.com>
Sun, 2 Sep 2018 21:05:27 +0000 (23:05 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 6 Aug 2019 13:38:20 +0000 (13:38 +0000)
commit19a2edf66b1cc6ec8a67f3b65c1369e0eb8e627a
tree035123a0b67c8c8ac37c49baa718f2b5b8043e50
parente550b99ad66cb1901bbca9433ea36cc665a8cfd6
count: fix types in sorting comparison callbacks

* count.c (time_cmp. syscall_cmp): Change arguments type
to "const void *", change indices cast type to "unsigned int *".
(count cmp): Likewise.  Change count variables type to unsigned int.
(sortfun): Specify types of arguments.

Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
count.c