diff src/similar.c @ 1002:3096a47232ec

Use gpointer instead of void *.
author zas_
date Tue, 26 Aug 2008 22:37:18 +0000
parents 4fe8f9656107
children 4bfee4a63f86
line wrap: on
line diff
--- a/src/similar.c	Tue Aug 26 22:30:40 2008 +0000
+++ b/src/similar.c	Tue Aug 26 22:37:18 2008 +0000
@@ -68,10 +68,10 @@
 	g_free(sd);
 }
 
-static gint image_sim_channel_eq_sort_cb(const void *a, const void *b)
+static gint image_sim_channel_eq_sort_cb(const gpointer a, const gpointer b)
 {
-	gint *pa = (void *)a;
-	gint *pb = (void *)b;
+	gint *pa = (gpointer)a;
+	gint *pb = (gpointer)b;
 	if (pa[1] < pb[1]) return -1;
 	if (pa[1] > pb[1]) return 1;
 	return 0;