From cadc0f8b6d0bd71f319c3e6576af05dcd0a7533f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 19 Nov 2012 01:25:34 +0300 Subject: Fix compilation error without C++11 flags. Error was introduced in previous commits. --- src/gui/widgets/browserbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/browserbox.cpp') diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp index f8b6b0b06..51420e8c7 100644 --- a/src/gui/widgets/browserbox.cpp +++ b/src/gui/widgets/browserbox.cpp @@ -661,7 +661,7 @@ int BrowserBox::calcHeight() } y += fontHeight; } - if (wWidth != maxWidth) + if ((signed)wWidth != maxWidth) { wWidth = maxWidth; setWidth(maxWidth); -- cgit v1.2.3-70-g09d2