mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 12:09:48 +00:00
cmXMLParser: Avoid -Wconversion warning
Add an explicit cast since we expect the conversion to be well within range.
This commit is contained in:
parent
34257b0dd4
commit
72f57845d3
@ -186,8 +186,8 @@ void cmXMLParserCharacterDataHandler(void* parser, const char* data,
|
||||
void cmXMLParser::ReportXmlParseError()
|
||||
{
|
||||
XML_Parser parser = static_cast<XML_Parser>(this->Parser);
|
||||
this->ReportError(XML_GetCurrentLineNumber(parser),
|
||||
XML_GetCurrentColumnNumber(parser),
|
||||
this->ReportError(static_cast<int>(XML_GetCurrentLineNumber(parser)),
|
||||
static_cast<int>(XML_GetCurrentColumnNumber(parser)),
|
||||
XML_ErrorString(XML_GetErrorCode(parser)));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user