mirror of https://github.com/CGAL/cgal
- Workaround g++ 2.95 pickyness in static_cast<>.
This commit is contained in:
parent
6866b548f6
commit
04305e4ba4
|
|
@ -1,3 +1,6 @@
|
|||
2.119 (24 January 2004)
|
||||
- Workaround g++ 2.95 pickyness in static_cast<>.
|
||||
|
||||
2.118 (19 January 2004) [mk]
|
||||
- added fixes for g++ 2.95.3 and SunPRO CC 5.3 and used the
|
||||
new macro CGAL_CFG_USING_BASE_MEMBER_BUG
|
||||
|
|
|
|||
|
|
@ -2521,7 +2521,7 @@ namespace HomogeneousKernelFunctors {
|
|||
RT C = qhx*rhw - qhw*rhx;
|
||||
RT D = qhy*rhw - qhw*rhy;
|
||||
|
||||
return static_cast<Orientation>(CGAL_NTS compare(A*D, B*C));
|
||||
return static_cast<Orientation>((int) CGAL_NTS compare(A*D, B*C));
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -2765,7 +2765,7 @@ namespace HomogeneousKernelFunctors {
|
|||
+ i * ( b*(g*p - h*o) + f*(d*o - c*p) + n*(c*h - d*g) )
|
||||
- m * ( b*(g*l - h*k) + f*(d*k - c*l) + j*(c*h - d*g) );
|
||||
|
||||
return static_cast<Oriented_side>(CGAL_NTS sign(det));
|
||||
return static_cast<Oriented_side>((int) CGAL_NTS sign(det));
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue