[libgepub] lib: Fix discarding const qualifier
- From: Daniel Garcia Moreno <danigm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgepub] lib: Fix discarding const qualifier
- Date: Thu, 22 Jun 2017 07:04:32 +0000 (UTC)
commit 67e3b7943c3c46cbed6c48434b9b7b8a3d69a950
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jun 21 18:17:51 2017 +0200
lib: Fix discarding const qualifier
passing argument 2 of ‘gepub_utils_has_parent_tag’ discards ‘const’ qualifier from pointer target type
https://bugzilla.gnome.org/show_bug.cgi?id=784050
libgepub/gepub-utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgepub/gepub-utils.c b/libgepub/gepub-utils.c
index a409f51..1484b6b 100644
--- a/libgepub/gepub-utils.c
+++ b/libgepub/gepub-utils.c
@@ -68,7 +68,7 @@ set_epub_uri (xmlNode *node, const gchar *path, const gchar *tagname, const gcha
}
static gboolean
-gepub_utils_has_parent_tag (xmlNode *node, gchar *name, ...)
+gepub_utils_has_parent_tag (xmlNode *node, const char *name, ...)
{
va_list ap;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]