Bad logging, content is unsigned const char*, fixed it to use %s and not cast.

This commit is contained in:
sfb 2013-10-28 12:58:08 -05:00
parent 2220c593f5
commit 35cf55adca

View file

@ -50,7 +50,7 @@ void syntaxError(const char *filename, xmlNodePtr xmlNode, const char *format, .
strcpy(buffer, "Unknown error");
}
nlerror("(%s), node (%s), line (%d) :\n%s", filename, xmlNode->name, (int)xmlNode->content, buffer);
nlerror("(%s), node (%s), line (%s) :\n%s", filename, xmlNode->name, xmlNode->content, buffer);
}
bool getPropertyString(std::string &result, const char *filename, xmlNodePtr xmlNode, const char *propName)