diff options
Diffstat (limited to 'prioq-test.c')
-rw-r--r-- | prioq-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prioq-test.c b/prioq-test.c index 56cfbc1..a54c1ff 100644 --- a/prioq-test.c +++ b/prioq-test.c @@ -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); |