summaryrefslogtreecommitdiff
path: root/source3
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
commitcc022132a6dd937eff330612ebaaefe23bff8a6c (patch)
tree93d19b796d13cbf2ae1ef6934398087ec5e19a83 /source3
parent61b5fd6f32e9ccb612df1354a3e3b3bed5f2b808 (diff)
downloadsamba-cc022132a6dd937eff330612ebaaefe23bff8a6c.tar.gz
samba-cc022132a6dd937eff330612ebaaefe23bff8a6c.tar.bz2
samba-cc022132a6dd937eff330612ebaaefe23bff8a6c.zip
cast the qsort to prevent warnings
(This used to be commit 55333edd2eed33961ced4eb4b6898f5ca9ca1820)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/nmblib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/nmblib.c b/source3/libsmb/nmblib.c
index 7729380615..ab57590b6f 100644
--- a/source3/libsmb/nmblib.c
+++ b/source3/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);
}