From bf30ebe77ea5e51587eacace83e20d9a6cce04a2 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Fri, 17 Apr 2015 00:22:37 +1000 Subject: Fix build --- src/lib/util/xmlfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/util/xmlfile.c') 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; -- cgit v1.2.3-70-g09d2