aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-03-30 01:29:46 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-03-30 01:29:46 +0800
commit72f0d0c0001ed7de14640579b9473fed811b866c (patch)
treea666a4db9172c1fa9879092b534b3613d81e5e68 /mail/em-format.h
parentb12d14e70117e2287cf3b11137c1f2636c09f4d9 (diff)
downloadgsoc2013-evolution-72f0d0c0001ed7de14640579b9473fed811b866c.tar.gz
gsoc2013-evolution-72f0d0c0001ed7de14640579b9473fed811b866c.tar.zst
gsoc2013-evolution-72f0d0c0001ed7de14640579b9473fed811b866c.zip
Fix "incompatible pointer type" warnings (#360619).
2007-03-29 Matthew Barnes <mbarnes@redhat.com> * calendar/gui/e-day-view.c: * calendar/gui/e-week-view.c: * calendar/gui/tasks-control.c: * composer/e-msg-composer-select-file.c: * mail/em-account-editor.c: * mail/em-folder-view.c: * mail/em-format-html-display.c: * mail/em-format-html.c: * mail/em-format.h: * mail/em-mailer-prefs.c: * mail/em-vfolder-rule.c: * mail/mail-ops.c: * mail/mail-send-recv.c: * mail/message-list.c: * plugins/bbdb/gaimbuddies.c: * plugins/itip-formatter/itip-formatter.c: * plugins/save-calendar/save-calendar.c: * shell/e-shell-window.c: * widgets/misc/e-icon-entry.c: * widgets/table/e-table-header-utils.c: * widgets/table/e-table-item.c: * widgets/table/e-tree-header-item.c: * widgets/table/e-tree-table-adapter.c: Fix "incompatible pointer type" warnings (#360619). svn path=/trunk/; revision=33339
Diffstat (limited to 'mail/em-format.h')
-rw-r--r--mail/em-format.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-format.h b/mail/em-format.h
index 68b067559e..3d2a82ef67 100644
--- a/mail/em-format.h
+++ b/mail/em-format.h
@@ -307,11 +307,11 @@ void em_format_pull_level(EMFormat *emf);
#define em_format_format_clone(emf, folder, uid, msg, src) ((EMFormatClass *)G_OBJECT_GET_CLASS(emf))->format_clone((emf), (folder), (uid), (msg), (src))
/* formats a new message */
#define em_format_format(emf, folder, uid, msg) ((EMFormatClass *)G_OBJECT_GET_CLASS(emf))->format_clone((emf), (folder), (uid), (msg), NULL)
-#define em_format_redraw(emf) ((EMFormatClass *)G_OBJECT_GET_CLASS(emf))->format_clone((emf), \
+#define em_format_redraw(emf) ((EMFormatClass *)G_OBJECT_GET_CLASS(emf))->format_clone((EMFormat *)(emf), \
((EMFormat *)(emf))->folder, \
((EMFormat *)(emf))->uid, \
((EMFormat *)(emf))->message, \
- (emf))
+ (EMFormat *)(emf))
void em_format_format_error(EMFormat *emf, struct _CamelStream *stream, const char *fmt, ...);
#define em_format_format_attachment(emf, stream, msg, type, info) ((EMFormatClass *)G_OBJECT_GET_CLASS(emf))->format_attachment((emf), (stream), (msg), (type), (info))
#define em_format_format_source(emf, stream, msg) ((EMFormatClass *)G_OBJECT_GET_CLASS(emf))->format_source((emf), (stream), (msg))