diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-07-28 13:49:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-07-28 13:49:12 +0300 |
commit | a1d88a611a1a44041c162fd8708eee96ee30a52c (patch) | |
tree | 347b905cb3ca019a08eb3f7f52839579354de974 /src/gui/widgets | |
parent | 0ad49798faae14641827ab7a1e57358cdf99a9cc (diff) | |
download | manaverse-a1d88a611a1a44041c162fd8708eee96ee30a52c.tar.gz manaverse-a1d88a611a1a44041c162fd8708eee96ee30a52c.tar.bz2 manaverse-a1d88a611a1a44041c162fd8708eee96ee30a52c.tar.xz manaverse-a1d88a611a1a44041c162fd8708eee96ee30a52c.zip |
fix compilation warning.
Diffstat (limited to 'src/gui/widgets')
-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 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) |