[epiphany] search-engine-dialog: improve format specifiers
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] search-engine-dialog: improve format specifiers
- Date: Fri, 20 Dec 2019 14:17:59 +0000 (UTC)
commit 4ccddb24070b58aa41072a04b07235c3fc86edb7
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Fri Dec 20 08:17:40 2019 -0600
search-engine-dialog: improve format specifiers
This placates cppcheck.
src/ephy-search-engine-dialog.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ephy-search-engine-dialog.c b/src/ephy-search-engine-dialog.c
index 1e4416ce8..4b85610c4 100644
--- a/src/ephy-search-engine-dialog.c
+++ b/src/ephy-search-engine-dialog.c
@@ -296,7 +296,7 @@ static char *
generate_new_unique_default_engine_name (EphySearchEngineDialog *dialog)
{
guint i = 1;
- char *default_name = g_strdup_printf ("%s %d", NEW_SEARCH_ENGINE_NAME, i);
+ char *default_name = g_strdup_printf ("%s %u", NEW_SEARCH_ENGINE_NAME, i);
while (dialog_list_box_child_n_occurence (default_name, dialog) != 0) {
if (i == UINT_MAX)
@@ -304,7 +304,7 @@ generate_new_unique_default_engine_name (EphySearchEngineDialog *dialog)
i++;
g_free (default_name);
- default_name = g_strdup_printf ("%s %d", NEW_SEARCH_ENGINE_NAME, i);
+ default_name = g_strdup_printf ("%s %u", NEW_SEARCH_ENGINE_NAME, i);
}
return default_name;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]