mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-22 04:37:23 +08:00
0024186: Eliminate remaining compiler warnings in MSVC++ 2010 64 bit with warning level 4
Eliminated some warnings of type C4267 (conversion from Type1 to Type2: possible loss of data); size_t to int explicit casts added. Fixed warning C4267 and 4244 in OSD* files Change in OSD_FileNode and OSD_File reverted since different handle types are needed on Unix and Windows
This commit is contained in:
@@ -78,7 +78,7 @@ void StepData_UndefinedEntity::ReadRecord(const Handle(StepData_StepReaderData)&
|
||||
}
|
||||
else if (partyp == Interface_ParamText) {
|
||||
// Return integre a supprimer silya
|
||||
Standard_Integer lval = strlen(val); Standard_Integer mval = -1;
|
||||
Standard_Integer lval = (Standard_Integer)strlen(val); Standard_Integer mval = -1;
|
||||
for (Standard_Integer j = 0; j < lval; j ++) {
|
||||
if (val[j] == '\n') { mval = i; break; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user