summaryrefslogtreecommitdiffstats
path: root/source/web/neg_lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/web/neg_lang.c')
-rw-r--r--source/web/neg_lang.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/web/neg_lang.c b/source/web/neg_lang.c
index cc2924afde6..ca671822d87 100644
--- a/source/web/neg_lang.c
+++ b/source/web/neg_lang.c
@@ -54,8 +54,8 @@ struct pri_list {
};
static int qsort_cmp_list(const void *x, const void *y) {
- struct pri_list *a = CONST_DISCARD(struct pri_list *, x);
- struct pri_list *b = CONST_DISCARD(struct pri_list *, y);
+ struct pri_list *a = (struct pri_list *)x;
+ struct pri_list *b = (struct pri_list *)y;
if (a->pri > b->pri) return -1;
if (a->pri == b->pri) return 0;
return 1;