xerces: fixed compilation

This commit is contained in:
Sergii Pylypenko
2019-06-14 16:44:43 +03:00
parent ff8594202d
commit dd184b184e
6 changed files with 17 additions and 19 deletions

View File

@@ -107,7 +107,7 @@ void XMLUTF8Transcoder::checkTrailingBytes(const XMLByte toCheck
{
char len[2] = {(char)(trailingBytes+0x31), 0};
char pos[2] = {(char)(position+0x31), 0};
char byte[2] = {toCheck,0};
char byte[2] = {(char)toCheck,0};
ThrowXMLwithMemMgr3(UTFDataFormatException, XMLExcepts::UTF8_FormatError, pos, byte, len, getMemoryManager());
}