mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 14:36:16 +01:00
resources: tool: Fix a compiler warning
Use G_GSIZE_FORMAT.
This commit is contained in:
parent
f42a5fb53b
commit
5286dbb7e1
@ -93,7 +93,7 @@ list_resource (GResource *resource,
|
|||||||
if (g_resource_get_info (resource, child, 0, &size, &flags, NULL))
|
if (g_resource_get_info (resource, child, 0, &size, &flags, NULL))
|
||||||
{
|
{
|
||||||
if (details)
|
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
|
else
|
||||||
g_print ("%s\n", child);
|
g_print ("%s\n", child);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user