summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-19 22:15:25 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-19 22:15:25 +0300
commitc657b6d4380dcf57634236bdb3b77179b5d81b91 (patch)
tree60a15f6c483c8955a55a1a8d63802d03fc7cd641 /src
parentde33cd794955254a166d932e91de0b72d9dc20fd (diff)
downloadmv-c657b6d4380dcf57634236bdb3b77179b5d81b91.tar.gz
mv-c657b6d4380dcf57634236bdb3b77179b5d81b91.tar.bz2
mv-c657b6d4380dcf57634236bdb3b77179b5d81b91.tar.xz
mv-c657b6d4380dcf57634236bdb3b77179b5d81b91.zip
fix compilation warnings.
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp
index 0a0951f9e..21a78ba7e 100644
--- a/src/gui/widgets/window.cpp
+++ b/src/gui/widgets/window.cpp
@@ -920,7 +920,7 @@ int Window::getResizeHandles(const gcn::MouseEvent &event)
resizeHandles |= (y > mDimension.height - resizeBorderWidth)
? BOTTOM : (y < resizeBorderWidth) ? TOP : 0;
}
- if (x >= mGripRect.x && y >= mGripRect.y)
+ if (x >= (unsigned)mGripRect.x && y >= (unsigned)mGripRect.y)
{
mDragOffsetX = x;
mDragOffsetY = y;