diff options
Diffstat (limited to 'src/gui/widgets/browserbox.cpp')
-rw-r--r-- | src/gui/widgets/browserbox.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp index 2c8f64a02..ea5210eb8 100644 --- a/src/gui/widgets/browserbox.cpp +++ b/src/gui/widgets/browserbox.cpp @@ -228,7 +228,8 @@ void BrowserBox::addRow(const std::string &row, bool atTop) i != i_end; ++ i) { std::string tempRow = *i; - for (unsigned int j = 0, sz = tempRow.size(); j < sz; j++) + for (unsigned int j = 0, sz = static_cast<unsigned int>( + tempRow.size()); j < sz; j++) { std::string character = tempRow.substr(j, 1); x += font->getWidth(character); |