diff --git a/glib/gqsort.c b/glib/gqsort.c index 9463124a7..6e1b225bc 100644 --- a/glib/gqsort.c +++ b/glib/gqsort.c @@ -302,5 +302,5 @@ g_qsort_with_data (gconstpointer pbase, GCompareDataFunc compare_func, gpointer user_data) { - return msort_r (pbase, total_elems, size, compare_func, user_data); + return msort_r ((gpointer)pbase, total_elems, size, compare_func, user_data); }