summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2008-12-22 00:46:49 +0100
committerPino Toscano <pino@kde.org>2008-12-22 00:46:49 +0100
commitc1beeecbd6cbf82811d70c75cb24059b4b492abe (patch)
treeea79ff5cdef3fc09ae9e2eb8c955fd544c6d8f57 /glib
parentbfb975466f0ff78e9e292b6af7cac66e4c331456 (diff)
[demo] use the proper format field for gsize types
Diffstat (limited to 'glib')
-rw-r--r--glib/demo/attachments.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/demo/attachments.c b/glib/demo/attachments.c
index d17835fd..c13147b2 100644
--- a/glib/demo/attachments.c
+++ b/glib/demo/attachments.c
@@ -45,7 +45,7 @@ pgd_attachments_fill_model (GtkListStore *model,
gchar *size;
gchar *ctime, *mtime;
- size = g_strdup_printf ("%d", attachment->size);
+ size = g_strdup_printf ("%" G_GSIZE_FORMAT, attachment->size);
ctime = pgd_format_date (attachment->ctime);
mtime = pgd_format_date (attachment->mtime);