gqsort: Quiet a compiler warning for qsort_r
authorColin Walters <walters@verbum.org>
Thu, 31 Mar 2011 21:07:07 +0000 (17:07 -0400)
committerColin Walters <walters@verbum.org>
Thu, 31 Mar 2011 21:07:07 +0000 (17:07 -0400)
glib/gqsort.c

index e2a5a2e..03b2db9 100644 (file)
@@ -63,7 +63,7 @@ g_qsort_with_data (gconstpointer    pbase,
                    GCompareDataFunc compare_func,
                    gpointer         user_data)
 {
-  qsort_r (pbase, total_elems, size, compare_func, user_data);
+  qsort_r ((gpointer)pbase, total_elems, size, compare_func, user_data);
 }
 
 #else