aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/em-format.c4
2 files changed, 9 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 1ab7d36198..af72a912f1 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2007-10-11 Matthew Barnes <mbarnes@redhat.com>
+
+ * em-format.c (em_format_add_puri):
+ Use G_GSIZE_FORMAT when printing a gsize/size_t to make compilers
+ on all arches happy.
+
2007-10-11 Milan Crha <mcrha@redhat.com>
** Fix for bug #323977
diff --git a/mail/em-format.c b/mail/em-format.c
index 94cba750bf..5bedde4007 100644
--- a/mail/em-format.c
+++ b/mail/em-format.c
@@ -366,7 +366,9 @@ em_format_add_puri(EMFormat *emf, size_t size, const char *cid, CamelMimePart *p
d(printf("adding puri for part: %s\n", emf->part_id->str));
if (size < sizeof(*puri)) {
- g_warning ("size (%d) less than size of puri\n", size);
+ g_warning (
+ "size (%" G_GSIZE_FORMAT
+ ") less than size of puri\n", size);
size = sizeof (*puri);
}