diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-17 00:11:55 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-21 10:52:36 +0800 |
commit | a538f3f3100dbdbae1ea172ae3b8344e650d529d (patch) | |
tree | f1f8b15c56dbe92e46352853373382af9bf92de0 /em-format | |
parent | d8fd55f9ec0e70a0d5c8529ea989f8c272d0c443 (diff) | |
download | gsoc2013-evolution-a538f3f3100dbdbae1ea172ae3b8344e650d529d.tar gsoc2013-evolution-a538f3f3100dbdbae1ea172ae3b8344e650d529d.tar.gz gsoc2013-evolution-a538f3f3100dbdbae1ea172ae3b8344e650d529d.tar.bz2 gsoc2013-evolution-a538f3f3100dbdbae1ea172ae3b8344e650d529d.tar.lz gsoc2013-evolution-a538f3f3100dbdbae1ea172ae3b8344e650d529d.tar.xz gsoc2013-evolution-a538f3f3100dbdbae1ea172ae3b8344e650d529d.tar.zst gsoc2013-evolution-a538f3f3100dbdbae1ea172ae3b8344e650d529d.zip |
Fix several types of pedantic compiler warnings.
Diffstat (limited to 'em-format')
-rw-r--r-- | em-format/em-format.c | 4 | ||||
-rw-r--r-- | em-format/em-format.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/em-format/em-format.c b/em-format/em-format.c index 267c953320..7128644052 100644 --- a/em-format/em-format.c +++ b/em-format/em-format.c @@ -82,7 +82,7 @@ static void emf_format_secure(EMFormat *emf, CamelStream *stream, CamelMimePart static gboolean emf_busy(EMFormat *emf); enum { EMF_COMPLETE, - EMF_LAST_SIGNAL, + EMF_LAST_SIGNAL }; static gpointer parent_class; @@ -752,7 +752,7 @@ emf_format_clone(EMFormat *emf, CamelFolder *folder, const char *uid, CamelMimeM g_string_truncate(emf->part_id, 0); if (folder != NULL) /* TODO build some string based on the folder name/location? */ - g_string_append_printf(emf->part_id, ".%p", folder); + g_string_append_printf(emf->part_id, ".%p", (gpointer) folder); if (uid != NULL) g_string_append_printf(emf->part_id, ".%s", uid); } diff --git a/em-format/em-format.h b/em-format/em-format.h index 3057b3d7a9..281766140e 100644 --- a/em-format/em-format.h +++ b/em-format/em-format.h @@ -71,7 +71,7 @@ typedef void (*EMFormatFunc) (EMFormat *md, CamelStream *stream, CamelMimePart * typedef enum _em_format_mode_t { EM_FORMAT_NORMAL, EM_FORMAT_ALLHEADERS, - EM_FORMAT_SOURCE, + EM_FORMAT_SOURCE } em_format_mode_t; /** @@ -103,7 +103,7 @@ struct _EMFormatHandler { **/ enum _em_format_handler_t { EM_FORMAT_HANDLER_INLINE = 1<<0, - EM_FORMAT_HANDLER_INLINE_DISPOSITION = 1<<1, + EM_FORMAT_HANDLER_INLINE_DISPOSITION = 1<<1 }; |