diff options
-rw-r--r-- | mail/ChangeLog | 2 | ||||
-rw-r--r-- | mail/upgrade-mailer.c | 6 |
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; |