From a1d88a611a1a44041c162fd8708eee96ee30a52c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 28 Jul 2013 13:49:12 +0300 Subject: fix compilation warning. --- 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 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(cid) < sz) { Image *const img = mEmotes->get(cid); if (img) -- cgit v1.2.3-70-g09d2