mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0024087: Eliminate compiler warning C4244 in MSVC++ with warning level 4
Most of the compiler warnings C4244 have been eliminated.
This commit is contained in:
@@ -2914,7 +2914,7 @@ void IntPatch_PrmPrmIntersection::PointDepart(Handle(IntSurf_LineOn2S)& LineOn2S
|
||||
for(j=0;j<SV1;j++) {
|
||||
aIPD.xIP1(i, j)=-1;
|
||||
const gp_Pnt& P=aIPD.xP1(i, j);
|
||||
aIPD.xP1DS2(i, j) = CodeReject(x20,y20,z20,x21,y21,z21,P.X(),P.Y(),P.Z());
|
||||
aIPD.xP1DS2(i, j) = (char)CodeReject(x20,y20,z20,x21,y21,z21,P.X(),P.Y(),P.Z());
|
||||
int ix = (int)((P.X()-x0 + dx2 )/dx);
|
||||
if(DansGrille(ix)) {
|
||||
int iy = (int)((P.Y()-y0 + dy2)/dy);
|
||||
@@ -2932,7 +2932,7 @@ void IntPatch_PrmPrmIntersection::PointDepart(Handle(IntSurf_LineOn2S)& LineOn2S
|
||||
for(j=0;j<SV2;j++) {
|
||||
aIPD.xIP2(i, j)=-1;
|
||||
const gp_Pnt& P=aIPD.xP2(i, j);
|
||||
aIPD.xP2DS1(i, j) = CodeReject(x10,y10,z10,x11,y11,z11,P.X(),P.Y(),P.Z());
|
||||
aIPD.xP2DS1(i, j) = (char)CodeReject(x10,y10,z10,x11,y11,z11,P.X(),P.Y(),P.Z());
|
||||
int ix = (int)((P.X()-x0 + dx2)/dx);
|
||||
if(DansGrille(ix)) {
|
||||
int iy = (int)((P.Y()-y0 + dy2)/dy);
|
||||
|
Reference in New Issue
Block a user