]> git.meshlink.io Git - catta/blobdiff - prioq-test.c
massive work
[catta] / prioq-test.c
index 56cfbc120f704f63e4ef18e939c361574fdf320f..a54c1ff5a5ca6a6b8a7939fdd3609cc0bff75349 100644 (file)
@@ -4,7 +4,7 @@
 
 #include "prioq.h"
 
-static gint compare(gpointer a, gpointer b) {
+static gint compare(gconstpointer a, gconstpointer b) {
     gint i = GPOINTER_TO_INT(a), j = GPOINTER_TO_INT(b);
 
     return i < j ? -1 : (i > j ? 1 : 0);