diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-11-19 01:25:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-11-19 01:25:34 +0300 |
commit | cadc0f8b6d0bd71f319c3e6576af05dcd0a7533f (patch) | |
tree | 692b25d77bb4f704c36ee2b58499f73066a65d66 /src/gui/widgets/browserbox.cpp | |
parent | 7457ac2414e25077a44ac6bc603544f4f09f7f21 (diff) | |
download | manaverse-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/browserbox.cpp')
-rw-r--r-- | src/gui/widgets/browserbox.cpp | 2 |
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); |