From c657b6d4380dcf57634236bdb3b77179b5d81b91 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 19 Sep 2012 22:15:25 +0300 Subject: fix compilation warnings. --- src/gui/widgets/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/window.cpp') 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; -- cgit v1.2.3-70-g09d2