summaryrefslogtreecommitdiff
path: root/src/gui/widgets/browserbox.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-19 22:22:17 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-19 22:22:17 +0300
commit2008152818c796daf526a874d18a7e77c87d423c (patch)
tree8e6ec32b428e1fffd1c8946e244f2f561ab5a09f /src/gui/widgets/browserbox.cpp
parent4de24231be93c6194801c8962d7bf00ed6c339ff (diff)
downloadmanaverse-2008152818c796daf526a874d18a7e77c87d423c.tar.gz
manaverse-2008152818c796daf526a874d18a7e77c87d423c.tar.bz2
manaverse-2008152818c796daf526a874d18a7e77c87d423c.tar.xz
manaverse-2008152818c796daf526a874d18a7e77c87d423c.zip
fix compilation warning.
Diffstat (limited to 'src/gui/widgets/browserbox.cpp')
-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 190e79e10..907a45a33 100644
--- a/src/gui/widgets/browserbox.cpp
+++ b/src/gui/widgets/browserbox.cpp
@@ -239,7 +239,7 @@ void BrowserBox::addRow(const std::string &row, const bool atTop)
if (idx2 == std::string::npos)
break;
- const int newSize = atoi(newRow.substr(
+ const unsigned int newSize = atoi(newRow.substr(
idx1 + 2, idx2 - idx1 - 2).c_str());
std::string str = newRow.substr(0, idx1);
while (str.size() < newSize)