From 26d49c2869cd934810c864b1de2a5150f1075122 Mon Sep 17 00:00:00 2001 From: NotZed Date: Wed, 9 Aug 2000 20:34:49 +0000 Subject: Fixed some warnings. 2000-05-11 NotZed * file.c, find.c: Fixed some warnings. svn path=/trunk/; revision=4667 --- libibex/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libibex/file.c') diff --git a/libibex/file.c b/libibex/file.c index c419360e26..70b7ed96cb 100644 --- a/libibex/file.c +++ b/libibex/file.c @@ -121,7 +121,7 @@ ibex_open (char *file, int flags, int mode) ib = g_malloc (sizeof (ibex)); ib->dirty = FALSE; ib->path = g_strdup (file); - ib->files = g_tree_new (strcmp); + ib->files = g_tree_new ((GCompareFunc) strcmp); ib->words = g_hash_table_new (g_str_hash, g_str_equal); ib->oldfiles = g_ptr_array_new (); @@ -324,7 +324,7 @@ ibex_write (ibex *ib) goto lose; iwd.lastname = NULL; - wtree = g_tree_new (strcmp); + wtree = g_tree_new ((GCompareFunc) strcmp); g_hash_table_foreach (ib->words, store_word, wtree); write_number (iwd.f, g_tree_nnodes(wtree)); if (ferror (iwd.f)) -- cgit