diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-19 22:15:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-19 22:15:25 +0300 |
commit | c657b6d4380dcf57634236bdb3b77179b5d81b91 (patch) | |
tree | 60a15f6c483c8955a55a1a8d63802d03fc7cd641 /src | |
parent | de33cd794955254a166d932e91de0b72d9dc20fd (diff) | |
download | plus-c657b6d4380dcf57634236bdb3b77179b5d81b91.tar.gz plus-c657b6d4380dcf57634236bdb3b77179b5d81b91.tar.bz2 plus-c657b6d4380dcf57634236bdb3b77179b5d81b91.tar.xz plus-c657b6d4380dcf57634236bdb3b77179b5d81b91.zip |
fix compilation warnings.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/window.cpp | 2 |
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; |