X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8e80bb9cec2c90dd61f810fb1525932a434288eb..e6c0bd53164bd30bbe038c80a370707847fc266c:/projects/stargazer/plugins/configuration/sgconfig/conn.cpp diff --git a/projects/stargazer/plugins/configuration/sgconfig/conn.cpp b/projects/stargazer/plugins/configuration/sgconfig/conn.cpp index 92d74796..513218e2 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/conn.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/conn.cpp @@ -225,7 +225,7 @@ bool Conn::DataCallback(const void * block, size_t size, void * data) printfd(__FILE__, "XML parse error at line %d, %d: %s. Is final: %d\n", static_cast(XML_GetCurrentLineNumber(state.conn.m_xmlParser)), static_cast(XML_GetCurrentColumnNumber(state.conn.m_xmlParser)), - XML_ErrorString(XML_GetErrorCode(state.conn.m_xmlParser)), (int)state.final); + XML_ErrorString(XML_GetErrorCode(state.conn.m_xmlParser)), static_cast(state.final)); printfd(__FILE__, "Data block: '%s' of size %d\n", xml, length); state.conn.m_state = ERROR; return false;