diff options
Diffstat (limited to 'src/LDOM/LDOM_XmlReader.cxx')
-rw-r--r-- | src/LDOM/LDOM_XmlReader.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LDOM/LDOM_XmlReader.cxx b/src/LDOM/LDOM_XmlReader.cxx index 03a5866b..d8ea7eaf 100644 --- a/src/LDOM/LDOM_XmlReader.cxx +++ b/src/LDOM/LDOM_XmlReader.cxx @@ -123,7 +123,7 @@ LDOM_XmlReader::RecordType LDOM_XmlReader::ReadRecord // Read the full buffer and reset start and end buffer pointers myPtr = &myBuffer[0]; - Standard_Integer aNBytes; + std::streamsize aNBytes; if (myFileDes != FILE_NONVALUE) aNBytes = read (myFileDes, &myBuffer[aBytesRest], XML_BUFFER_SIZE - aBytesRest); @@ -515,7 +515,7 @@ static Standard_Boolean isName (const char * aString, const char *& aNameEnd) { Standard_Boolean aResult; - int aCh = aString[0]; + Standard_Character aCh = aString[0]; if (IsAlphabetic(aCh) || aCh == '_' || aCh == ':') { const char * aPtr = &aString[1]; while (aPtr < aStringEnd) { |