Implement the same PLT reduction technique used in GTK+:
[platform/upstream/glib.git] / glib / gqsort.c
index 8c9314c..ac45e8b 100644 (file)
@@ -36,6 +36,7 @@
 
 #include <string.h>
 
+#include "galias.h"
 #include "glib.h"
 
 
@@ -111,7 +112,7 @@ stack_node;
 void
 g_qsort_with_data (gconstpointer    pbase,
                   gint             total_elems,
-                  size_t           size,
+                  gsize            size,
                   GCompareDataFunc compare_func,
                   gpointer         user_data)
 {