[epiphany] Attempt to fix -Werror build with libxml 2.9.4
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Attempt to fix -Werror build with libxml 2.9.4
- Date: Thu, 6 Apr 2017 16:30:46 +0000 (UTC)
commit 0e478618fa89fc5e13f781f49c5f74620e51ddcd
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Thu Apr 6 11:27:09 2017 -0500
Attempt to fix -Werror build with libxml 2.9.4
The prototype of this printf function changed.
https://bugzilla.gnome.org/show_bug.cgi?id=780398
lib/ephy-langs.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/ephy-langs.c b/lib/ephy-langs.c
index 4b2ce5f..1fdc90c 100644
--- a/lib/ephy-langs.c
+++ b/lib/ephy-langs.c
@@ -225,8 +225,8 @@ load_iso_entries (int iso,
if (reader == NULL)
goto out;
- xmlStrPrintf (iso_entries, sizeof (iso_entries), (const xmlChar *)"iso_%d_entries", iso);
- xmlStrPrintf (iso_entry, sizeof (iso_entry), (const xmlChar *)"iso_%d_entry", iso);
+ xmlStrPrintf (iso_entries, sizeof (iso_entries), "iso_%d_entries", iso);
+ xmlStrPrintf (iso_entry, sizeof (iso_entry), "iso_%d_entry", iso);
ret = xmlTextReaderRead (reader);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]