diff options
author | NotZed <NotZed@HelixCode.com> | 2000-08-10 04:34:49 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-08-10 04:34:49 +0800 |
commit | 26d49c2869cd934810c864b1de2a5150f1075122 (patch) | |
tree | 2599b9ce1dac1d2855b0e46f53c4a4b9016de672 /libibex/file.c | |
parent | d294eacd6d865f868cc8580806777737ba468918 (diff) | |
download | gsoc2013-evolution-26d49c2869cd934810c864b1de2a5150f1075122.tar gsoc2013-evolution-26d49c2869cd934810c864b1de2a5150f1075122.tar.gz gsoc2013-evolution-26d49c2869cd934810c864b1de2a5150f1075122.tar.bz2 gsoc2013-evolution-26d49c2869cd934810c864b1de2a5150f1075122.tar.lz gsoc2013-evolution-26d49c2869cd934810c864b1de2a5150f1075122.tar.xz gsoc2013-evolution-26d49c2869cd934810c864b1de2a5150f1075122.tar.zst gsoc2013-evolution-26d49c2869cd934810c864b1de2a5150f1075122.zip |
Fixed some warnings.
2000-05-11 NotZed <NotZed@HelixCode.com>
* file.c, find.c: Fixed some warnings.
svn path=/trunk/; revision=4667
Diffstat (limited to 'libibex/file.c')
-rw-r--r-- | libibex/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
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)) |