summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--basegfx/source/polygon/b2dpolygonclipper.cxx2
-rw-r--r--basegfx/source/polygon/b2dpolygontools.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/basegfx/source/polygon/b2dpolygonclipper.cxx b/basegfx/source/polygon/b2dpolygonclipper.cxx
index 6a460430c168..2cf7c30eb1de 100644
--- a/basegfx/source/polygon/b2dpolygonclipper.cxx
+++ b/basegfx/source/polygon/b2dpolygonclipper.cxx
@@ -732,7 +732,7 @@ namespace basegfx
stack[2] = rCandidate.getB2DPoint(nIndex);
// clipping judgement
- clipflag |= !(rRange.isInside(stack[2]));
+ clipflag |= unsigned(!(rRange.isInside(stack[2])));
if(nIndex > 1)
{
diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx
index 535e8cd6acda..0cf0a37a4671 100644
--- a/basegfx/source/polygon/b2dpolygontools.cxx
+++ b/basegfx/source/polygon/b2dpolygontools.cxx
@@ -2234,7 +2234,7 @@ namespace basegfx
/// return 0 for input of 0, -1 for negative and 1 for positive input
inline int lcl_sgn( const double n )
{
- return n == 0.0 ? 0 : 1 - 2*::rtl::math::isSignBitSet(n);
+ return n == 0.0 ? 0 : 1 - 2*int(rtl::math::isSignBitSet(n));
}
}