1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03: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:
omy
2013-09-26 17:20:52 +04:00
committed by bugmaster
parent b62b3e079f
commit 7dc9e04716
37 changed files with 93 additions and 100 deletions

View File

@@ -300,7 +300,7 @@ Standard_Boolean IntWalk_IWalking::TestArretPassage
if(( (Dup*UV1mUtest + Dvp*UV2mVtest) < 0) ||
( Abs(UV1mUtest) < tolu
&& Abs(UV2mVtest) < tolv)) {
i_candidates.Append(i);
i_candidates.Append((Standard_Integer)i);
SqDist_candidates.Append(Dup*Dup + Dvp*Dvp);
/*
Irang=i;
@@ -319,7 +319,7 @@ Standard_Boolean IntWalk_IWalking::TestArretPassage
(Vp-Vmult(j))*(UV(2)-Vmult(j)) < 0) ||
(Abs(UV(1)-Umult(j)) < tolu &&
Abs(UV(2)-Vmult(j)) < tolv)) {
Irang=i;
Irang=(Standard_Integer)i;
Arrive = Standard_True;
UV(1) = Utest;
UV(2) = Vtest;