]> git.ipfire.org Git - thirdparty/rsync.git/commit
hlink: Fix function pointer cast in qsort()
authorCharalampos Mitrodimas <charmitro@posteo.net>
Wed, 20 Nov 2024 12:55:50 +0000 (14:55 +0200)
committerAndrew Tridgell <andrew@tridgell.net>
Tue, 17 Dec 2024 21:56:27 +0000 (08:56 +1100)
commit36212021f0b8f64d28a5713f6b485f97857187f1
tree5fcb03b27e21c6ee0741b3ad00ff74188ec98994
parent2b38542e0d3fda8081e06368196248b3b0070819
hlink: Fix function pointer cast in qsort()

Replace unsafe generic function pointer cast with proper type cast for
qsort() comparison function. This fixes a potential type mismatch
warning without changing the behavior.

Signed-off-by: Charalampos Mitrodimas <charmitro@posteo.net>
hlink.c