summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/xmlfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/xmlfile.c')
-rw-r--r--src/lib/util/xmlfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/xmlfile.c b/src/lib/util/xmlfile.c
index e03893134f9..8635cfc427f 100644
--- a/src/lib/util/xmlfile.c
+++ b/src/lib/util/xmlfile.c
@@ -698,7 +698,7 @@ static void expat_data(void *data, const XML_Char *s, int len)
if ((*curnode)->value != NULL)
{
memcpy(newdata, (*curnode)->value, oldlen);
- free((*curnode)->value);
+ free((void *)(*curnode)->value);
}
(*curnode)->value = newdata;