summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-11-19 01:25:34 +0300
committerAndrei Karas <akaras@inbox.ru>2012-11-19 01:25:34 +0300
commitcadc0f8b6d0bd71f319c3e6576af05dcd0a7533f (patch)
tree692b25d77bb4f704c36ee2b58499f73066a65d66 /src/gui/widgets
parent7457ac2414e25077a44ac6bc603544f4f09f7f21 (diff)
downloadManaVerse-cadc0f8b6d0bd71f319c3e6576af05dcd0a7533f.tar.gz
ManaVerse-cadc0f8b6d0bd71f319c3e6576af05dcd0a7533f.tar.bz2
ManaVerse-cadc0f8b6d0bd71f319c3e6576af05dcd0a7533f.tar.xz
ManaVerse-cadc0f8b6d0bd71f319c3e6576af05dcd0a7533f.zip
Fix compilation error without C++11 flags.
Error was introduced in previous commits.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/browserbox.cpp2
1 files changed, 1 insertions, 1 deletions
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);