From ecc0dbab411d6f1f741dd19d0bc593ecc36a4941 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 23 Sep 2012 16:24:39 +0300 Subject: fix code style. --- src/gui/widgets/window.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets/window.cpp') diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index 879190932..95ceee0eb 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -948,7 +948,8 @@ int Window::getResizeHandles(const gcn::MouseEvent &event) resizeHandles |= (y > mDimension.height - resizeBorderWidth) ? BOTTOM : (y < resizeBorderWidth) ? TOP : 0; } - if (x >= (unsigned)mGripRect.x && y >= (unsigned)mGripRect.y) + if (x >= static_cast(mGripRect.x) + && y >= static_cast(mGripRect.y)) { mDragOffsetX = x; mDragOffsetY = y; -- cgit v1.2.3-60-g2f50