From: Andrew Tridgell Date: Mon, 31 Aug 1998 03:13:20 +0000 (+0000) Subject: cast the qsort to prevent warnings X-Git-Tag: samba-2.0.0alpha0~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55333edd2eed33961ced4eb4b6898f5ca9ca1820;p=thirdparty%2Fsamba.git cast the qsort to prevent warnings --- diff --git a/source/libsmb/nmblib.c b/source/libsmb/nmblib.c index 77293806152..ab57590b6f7 100644 --- a/source/libsmb/nmblib.c +++ b/source/libsmb/nmblib.c @@ -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); }