]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
cast the qsort to prevent warnings
authorAndrew Tridgell <tridge@samba.org>
Mon, 31 Aug 1998 03:13:20 +0000 (03:13 +0000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 31 Aug 1998 03:13:20 +0000 (03:13 +0000)
source/libsmb/nmblib.c

index 772938061528a375bfd881ee5d2e4a91525eafbd..ab57590b6f72ee0d79f28e5c31d228598f372bf9 100644 (file)
@@ -950,5 +950,5 @@ void sort_query_replies(char *data, int n, struct in_addr ip)
 
        putip(sort_ip, (char *)&ip);
 
-       qsort(data, n, 6, name_query_comp);
+       qsort(data, n, 6, QSORT_CAST name_query_comp);
 }