diff -r f851ba530957 -r ae4d89c3477c dav/scfg.c --- a/dav/scfg.c Sun Jun 24 09:23:00 2018 +0200 +++ b/dav/scfg.c Sun Jun 24 10:21:23 2018 +0200 @@ -123,7 +123,7 @@ return 1; } else { // get scope - xmlChar *scope = xmlGetNoNsProp(node, "scope"); + xmlChar *scope = xmlGetNoNsProp(node, BAD_CAST "scope"); if(scope) { if(xstreq(scope, "resource")) { @@ -201,9 +201,9 @@ } xmlAttr *attr = c->properties; - xmlChar *format = xmlGetNoNsProp(node, "format"); + xmlChar *format = xmlGetNoNsProp(node, BAD_CAST "format"); if(format) { - conf.local_format = str2tagformat(format); + conf.local_format = str2tagformat((char*)format); xmlFree(format); } } else if(xstreq(c->name, "detect-changes")) {