[glib] resources: tool: Fix a compiler warning
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] resources: tool: Fix a compiler warning
- Date: Wed, 25 Jan 2012 13:48:40 +0000 (UTC)
commit 5286dbb7e14d53256ebe45b4482c3a5317eb4e5c
Author: Christian Persch <chpe gnome org>
Date: Tue Jan 24 14:18:12 2012 +0100
resources: tool: Fix a compiler warning
Use G_GSIZE_FORMAT.
gio/gresource-tool.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gresource-tool.c b/gio/gresource-tool.c
index 8fead39..58aea8d 100644
--- a/gio/gresource-tool.c
+++ b/gio/gresource-tool.c
@@ -93,7 +93,7 @@ list_resource (GResource *resource,
if (g_resource_get_info (resource, child, 0, &size, &flags, NULL))
{
if (details)
- g_print ("%s%s%6ld %s %s\n", section, section[0] ? " " : "", size, flags & G_RESOURCE_FLAGS_COMPRESSED ? "c" : "u", child);
+ g_print ("%s%s%6"G_GSIZE_FORMAT " %s %s\n", section, section[0] ? " " : "", size, flags & G_RESOURCE_FLAGS_COMPRESSED ? "c" : "u", child);
else
g_print ("%s\n", child);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]