[epiphany] window: improve format specifiers
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] window: improve format specifiers
- Date: Fri, 20 Dec 2019 15:06:58 +0000 (UTC)
commit b6b0f2a6e7feae511dc5a10b064f796cac25b17e
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Fri Dec 20 09:06:49 2019 -0600
window: improve format specifiers
This placates cppcheck.
src/ephy-window.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 8d0abd2fe..1ddbcc070 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2518,9 +2518,9 @@ setup_tab_accels (EphyWindow *window)
char *action_name_with_tab;
char *accel;
- action_name = g_strdup_printf ("accel-%d", i);
+ action_name = g_strdup_printf ("accel-%u", i);
action_name_with_tab = g_strconcat ("tab.", action_name, NULL);
- accel = g_strdup_printf ("<alt>%d", (i + 1) % TAB_ACCELS_N);
+ accel = g_strdup_printf ("<alt>%u", (i + 1) % TAB_ACCELS_N);
simple_action = g_simple_action_new (action_name, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]