[eog-plugins] postasa: Use correct printf-format string for goffset-value
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog-plugins] postasa: Use correct printf-format string for goffset-value
- Date: Mon, 11 Jul 2011 20:36:28 +0000 (UTC)
commit 1e568775603c65ff86a3bdf242b2065dcdf18414
Author: Felix Riemann <friemann gnome org>
Date: Sun Jul 10 16:29:16 2011 +0200
postasa: Use correct printf-format string for goffset-value
Fixes compiler warnings for 32bit targets.
https://bugzilla.gnome.org/show_bug.cgi?id=654302
plugins/postasa/eog-postasa-plugin.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/postasa/eog-postasa-plugin.c b/plugins/postasa/eog-postasa-plugin.c
index a272a54..4b53579 100644
--- a/plugins/postasa/eog-postasa-plugin.c
+++ b/plugins/postasa/eog-postasa-plugin.c
@@ -307,7 +307,8 @@ uploads_add_entry (EogPostasaPlugin *plugin, EogImage *image, GCancellable *canc
g_error_free (error);
}
}
- size = g_strdup_printf ("%luKB", eog_image_get_bytes (image) / 1024);
+ size = g_strdup_printf ("%" G_GOFFSET_FORMAT "KB",
+ eog_image_get_bytes (image) / 1024);
iter = g_slice_new0 (GtkTreeIter);
/* insert the data into the upload's list store */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]