aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-10-02 00:42:15 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-10-02 00:42:15 +0800
commita12475262ec41c4ca2639fd101136a6e25a9fd4e (patch)
tree12e2cd3b9e77dc032273939a153b77453b9f010d /mail
parentd0bfb9478143d03baed80448f8a835009b7fc6f8 (diff)
downloadgsoc2013-evolution-a12475262ec41c4ca2639fd101136a6e25a9fd4e.tar.gz
gsoc2013-evolution-a12475262ec41c4ca2639fd101136a6e25a9fd4e.tar.zst
gsoc2013-evolution-a12475262ec41c4ca2639fd101136a6e25a9fd4e.zip
Shut up some compiler warnings.
2002-10-01 Jeffrey Stedfast <fejj@ximian.com> * upgrade-mailer.c: Shut up some compiler warnings. svn path=/trunk/; revision=18280
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog2
-rw-r--r--mail/upgrade-mailer.c6
2 files changed, 5 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 448b39e046..c9e8568717 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,7 @@
2002-10-01 Jeffrey Stedfast <fejj@ximian.com>
+ * upgrade-mailer.c: Shut up some compiler warnings.
+
* importers/evolution-mbox-importer.c (process_item_fn): Use the
camel_message_info_new/free functions rather than g_new0 and
g_free. Also, if we fail to parse a message make sure we don't
diff --git a/mail/upgrade-mailer.c b/mail/upgrade-mailer.c
index 8d258ce997..fbaf65d001 100644
--- a/mail/upgrade-mailer.c
+++ b/mail/upgrade-mailer.c
@@ -323,8 +323,8 @@ cache_upgrade (struct _storeinfo *si, const char *folder_name)
static int
foldercmp (const void *f1, const void *f2)
{
- const char **folder1 = f1;
- const char **folder2 = f2;
+ const char **folder1 = (const char **) f1;
+ const char **folder2 = (const char **) f2;
return strcmp (*folder1, *folder2);
}
@@ -1045,7 +1045,7 @@ static int
mailer_upgrade (Bonobo_ConfigDatabase db)
{
GHashTable *imap_sources, *accounts;
- char *path, *uri, *bak;
+ char *path, *uri;
char *account;
int num, i;