summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-28 13:49:12 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-28 13:49:12 +0300
commita1d88a611a1a44041c162fd8708eee96ee30a52c (patch)
tree347b905cb3ca019a08eb3f7f52839579354de974
parent0ad49798faae14641827ab7a1e57358cdf99a9cc (diff)
downloadplus-a1d88a611a1a44041c162fd8708eee96ee30a52c.tar.gz
plus-a1d88a611a1a44041c162fd8708eee96ee30a52c.tar.bz2
plus-a1d88a611a1a44041c162fd8708eee96ee30a52c.tar.xz
plus-a1d88a611a1a44041c162fd8708eee96ee30a52c.zip
fix compilation warning.
-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 991190e27..2de1dcfae 100644
--- a/src/gui/widgets/browserbox.cpp
+++ b/src/gui/widgets/browserbox.cpp
@@ -720,7 +720,7 @@ int BrowserBox::calcHeight()
if (mEmotes)
{
const size_t sz = mEmotes->size();
- if (cid < sz)
+ if (static_cast<unsigned>(cid) < sz)
{
Image *const img = mEmotes->get(cid);
if (img)