mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0023934: Compiler warnings in MS VC++ 10
Elimination of compiler warnings - ExprIntrp: generated file ExprIntrp.tab.c and related WOK scripts removed from the sources - ExprIntrp, StepFile: added missing declarations and casts; warnings caused by Flex and Bison code suppressed for MSVC compuler by #pragma - OSD: dummy #includes added to files containing no code for Windows, to avoid warning on empty file - PLib: piece of code contained in PLib_ChangeDim.gxx included explicitly in cxx and cleaned - Other places: some casts added to avoid warnings
This commit is contained in:
@@ -145,7 +145,7 @@ LDOM_XmlReader::RecordType LDOM_XmlReader::ReadRecord
|
||||
else {
|
||||
myIStream.read (&myBuffer[aBytesRest],
|
||||
XML_BUFFER_SIZE - aBytesRest);
|
||||
aNBytes = myIStream.gcount();
|
||||
aNBytes = (Standard_Size)myIStream.gcount();
|
||||
}
|
||||
if (aNBytes == 0)
|
||||
myEOF = Standard_True; // END-OF-FILE
|
||||
|
Reference in New Issue
Block a user