summaryrefslogtreecommitdiff
path: root/source4/web/neg_lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/web/neg_lang.c')
-rw-r--r--source4/web/neg_lang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/web/neg_lang.c b/source4/web/neg_lang.c
index da974f78a4..b09ab7b452 100644
--- a/source4/web/neg_lang.c
+++ b/source4/web/neg_lang.c
@@ -99,7 +99,7 @@ void web_set_lang(const char *lang_string)
}
str_list_free(&lang_list);
- qsort(pl, lang_num, sizeof(struct pri_list), &qsort_cmp_list);
+ qsort(pl, lang_num, sizeof(struct pri_list), QSORT_CAST qsort_cmp_list);
/* it's not an error to not initialise - we just fall back to
the default */