mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-24 15:56:22 +00:00
Bad logging, content is unsigned const char*, fixed it to use %s and not cast.
This commit is contained in:
parent
cd2e07ad28
commit
92e9e1c760
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ void syntaxError(const char *filename, xmlNodePtr xmlNode, const char *format, .
|
||||||
strcpy(buffer, "Unknown error");
|
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)
|
bool getPropertyString(std::string &result, const char *filename, xmlNodePtr xmlNode, const char *propName)
|
||||||
|
|
Loading…
Reference in a new issue