mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0023072: Eliminate compiler warnings (level 3) on Windows / MSVC++
This commit is contained in:
@@ -640,7 +640,7 @@ VrmlData_ErrorStatus VrmlData_ArrayVec3d::ReadArray
|
||||
if (OK(aStatus, VrmlData_Scene::ReadLine(theBuffer))) {
|
||||
// Match the name with the current word in the stream
|
||||
if (theName) {
|
||||
const Standard_Integer aNameLen = strlen(theName);
|
||||
const Standard_Size aNameLen = strlen(theName);
|
||||
if (strncmp (theBuffer.LinePtr, theName, aNameLen))
|
||||
aStatus = VrmlData_VrmlFormatError;
|
||||
else
|
||||
|
@@ -839,7 +839,7 @@ VrmlData_ErrorStatus VrmlData_Scene::ReadArrIndex
|
||||
aStatus = VrmlData_UnrecoverableError;
|
||||
else {
|
||||
for (size_t i = 0; i < aNbBlocks; i++)
|
||||
anArray[i] = vecIndice(i);
|
||||
anArray[i] = vecIndice((Standard_Integer)i);
|
||||
theNBlocks = aNbBlocks;
|
||||
theArray = anArray;
|
||||
}
|
||||
|
Reference in New Issue
Block a user