[glib] win32: fix incorrect specifier
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] win32: fix incorrect specifier
- Date: Mon, 21 Sep 2015 13:07:32 +0000 (UTC)
commit 8297ea8badef5ae5bdeab85b74780fd70de60247
Author: Matthew Waters <matthew centricular com>
Date: Thu Sep 17 20:38:10 2015 +1000
win32: fix incorrect specifier
error: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has
type ‘gsize {aka long long unsigned int}’ [-Werror=format=]
https://bugzilla.gnome.org/show_bug.cgi?id=755154
gio/gwin32appinfo.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gwin32appinfo.c b/gio/gwin32appinfo.c
index 6556b0c..ae5a7da 100644
--- a/gio/gwin32appinfo.c
+++ b/gio/gwin32appinfo.c
@@ -3095,7 +3095,7 @@ link_handlers_to_registered_apps (void)
}
}
- g_debug ("%u undefhandled extensions\n", unhandled_exts);
+ g_debug ("%" G_GSIZE_FORMAT "undefhandled extensions\n", unhandled_exts);
unhandled_exts= 0;
g_hash_table_iter_init (&sup_iter, extensions);
while (g_hash_table_iter_next (&sup_iter,
@@ -3109,7 +3109,7 @@ link_handlers_to_registered_apps (void)
unhandled_exts += 1;
}
}
- g_debug ("%u undefhandled extensions\n", unhandled_exts);
+ g_debug ("%" G_GSIZE_FORMAT "undefhandled extensions\n", unhandled_exts);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]