diff src/filedata.c @ 1002:3096a47232ec

Use gpointer instead of void *.
author zas_
date Tue, 26 Aug 2008 22:37:18 +0000
parents 4fe8f9656107
children 4303ee1e88ec
line wrap: on
line diff
--- a/src/filedata.c	Tue Aug 26 22:30:40 2008 +0000
+++ b/src/filedata.c	Tue Aug 26 22:37:18 2008 +0000
@@ -752,7 +752,7 @@
 	return filelist_sort_compare_filedata(fa, fb);
 }
 
-static gint filelist_sort_file_cb(void *a, void *b)
+static gint filelist_sort_file_cb(gpointer a, gpointer b)
 {
 	return filelist_sort_compare_filedata(a, b);
 }
@@ -764,7 +764,7 @@
 	return g_list_sort(list, cb);
 }
 
-GList *filelist_insert_sort_full(GList *list, void *data, SortType method, gint ascend, GCompareFunc cb)
+GList *filelist_insert_sort_full(GList *list, gpointer data, SortType method, gint ascend, GCompareFunc cb)
 {
 	filelist_sort_method = method;
 	filelist_sort_ascend = ascend;