summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-08-31 03:13:20 +0000
committerAndrew Tridgell <tridge@samba.org>1998-08-31 03:13:20 +0000
commit55333edd2eed33961ced4eb4b6898f5ca9ca1820 (patch)
tree66c6d4e311adba347d33905b216a39774e74f9f2 /source
parent3eade55dc7c842bdc50205c330802d211fae54d3 (diff)
downloadsamba-55333edd2eed33961ced4eb4b6898f5ca9ca1820.tar.gz
cast the qsort to prevent warnings
Diffstat (limited to 'source')
-rw-r--r--source/libsmb/nmblib.c2
1 files changed, 1 insertions, 1 deletions
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);
}