aboutsummaryrefslogtreecommitdiffstats
path: root/em-format
diff options
context:
space:
mode:
Diffstat (limited to 'em-format')
-rw-r--r--em-format/em-format.c4
-rw-r--r--em-format/em-format.h4
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
};