mirror of
https://github.com/reactos/CMake.git
synced 2024-12-15 23:57:44 +00:00
CPackWIX: Add static_casts for XML_Parser.
"XML_Parser" in cmexpat is a typedef for void* while newer releases of expat seem to use struct XML_ParserStruct *XML_Parser. Add static_casts so that the build works with either variant.
This commit is contained in:
parent
5d1d995bb7
commit
8603791553
@ -132,8 +132,8 @@ void cmWIXPatchParser::ReportError(int line, int column, const char* msg)
|
||||
|
||||
void cmWIXPatchParser::ReportValidationError(std::string const& message)
|
||||
{
|
||||
ReportError(XML_GetCurrentLineNumber(Parser),
|
||||
XML_GetCurrentColumnNumber(Parser),
|
||||
ReportError(XML_GetCurrentLineNumber(static_cast<XML_Parser>(this->Parser)),
|
||||
XML_GetCurrentColumnNumber(static_cast<XML_Parser>(this->Parser)),
|
||||
message.c_str());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user