diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-08-11 10:57:11 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-08-11 10:57:11 +0800 |
commit | 40eea3692e4afa02a9092f64c00e9348f562f68b (patch) | |
tree | a5de1982e43949eefeea75ab5a939a89690b32d4 /camel/providers/mbox | |
parent | e8ee5b65d43775708361a1094d56ae7d20fbb5e7 (diff) | |
download | gsoc2013-evolution-40eea3692e4afa02a9092f64c00e9348f562f68b.tar gsoc2013-evolution-40eea3692e4afa02a9092f64c00e9348f562f68b.tar.gz gsoc2013-evolution-40eea3692e4afa02a9092f64c00e9348f562f68b.tar.bz2 gsoc2013-evolution-40eea3692e4afa02a9092f64c00e9348f562f68b.tar.lz gsoc2013-evolution-40eea3692e4afa02a9092f64c00e9348f562f68b.tar.xz gsoc2013-evolution-40eea3692e4afa02a9092f64c00e9348f562f68b.tar.zst gsoc2013-evolution-40eea3692e4afa02a9092f64c00e9348f562f68b.zip |
Fixed some warnings.
2000-08-10 Christopher James Lahey <clahey@helixcode.com>
* camel-folder-search.c, camel-folder-summary.c, camel-medium.c,
camel-mime-filter-charset.c, camel-mime-filter.c,
camel-mime-filter.h, camel-mime-message.c, camel-mime-parser.c,
camel-mime-part-utils.c, camel-mime-part.c, camel-mime-utils.c,
camel-movemail.c, camel-multipart.c, camel-object.c,
camel-stream-mem.c, providers/mbox/camel-mbox-folder.c,
providers/mbox/camel-mbox-summary.c,
providers/mh/camel-mh-folder.c,
providers/smtp/camel-smtp-transport.c: Fixed some warnings.
svn path=/trunk/; revision=4719
Diffstat (limited to 'camel/providers/mbox')
-rw-r--r-- | camel/providers/mbox/camel-mbox-folder.c | 4 | ||||
-rw-r--r-- | camel/providers/mbox/camel-mbox-summary.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/camel/providers/mbox/camel-mbox-folder.c b/camel/providers/mbox/camel-mbox-folder.c index 4ac9c5fcf1..00921637eb 100644 --- a/camel/providers/mbox/camel-mbox-folder.c +++ b/camel/providers/mbox/camel-mbox-folder.c @@ -563,7 +563,7 @@ mbox_set_message_flags(CamelFolder *folder, const char *uid, guint32 flags, guin info->flags = (info->flags & ~flags) | (set & flags) | CAMEL_MESSAGE_FOLDER_FLAGGED; camel_folder_summary_touch(CAMEL_FOLDER_SUMMARY(mf->summary)); - camel_object_trigger_event(CAMEL_OBJECT(folder), "message_changed", uid); + camel_object_trigger_event(CAMEL_OBJECT(folder), "message_changed", (char *) uid); } static gboolean @@ -590,5 +590,5 @@ mbox_set_message_user_flag(CamelFolder *folder, const char *uid, const char *nam camel_flag_set(&info->user_flags, name, value); info->flags |= CAMEL_MESSAGE_FOLDER_FLAGGED; camel_folder_summary_touch(CAMEL_FOLDER_SUMMARY(mf->summary)); - camel_object_trigger_event(CAMEL_OBJECT(folder), "message_changed", uid); + camel_object_trigger_event(CAMEL_OBJECT(folder), "message_changed", (char *) uid); } diff --git a/camel/providers/mbox/camel-mbox-summary.c b/camel/providers/mbox/camel-mbox-summary.c index b656205b1a..2a297594d7 100644 --- a/camel/providers/mbox/camel-mbox-summary.c +++ b/camel/providers/mbox/camel-mbox-summary.c @@ -243,9 +243,11 @@ message_info_load (CamelFolderSummary *s, FILE *in) mi = ((CamelFolderSummaryClass *)camel_mbox_summary_parent)->message_info_load (s, in); if (mi) { + guint32 position; CamelMboxMessageInfo *mbi = (CamelMboxMessageInfo *)mi; - camel_folder_summary_decode_uint32 (in, &mbi->frompos); + camel_folder_summary_decode_uint32 (in, &position); + mbi->frompos = position; } return mi; |