From a103f05d6eba441e25bd2905597a88db0b58e7b0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 16 Oct 2019 03:25:36 +0300 Subject: Change type for some loop variables [ci skip] --- src/gui/windows/shopwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/windows/shopwindow.cpp') diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp index 58cc268ed..eb28639f8 100644 --- a/src/gui/windows/shopwindow.cpp +++ b/src/gui/windows/shopwindow.cpp @@ -878,7 +878,7 @@ void ShopWindow::showList(const std::string &nick, std::string data) if (sellDialog != nullptr) sellDialog->setMoney(PlayerInfo::getAttribute(Attributes::MONEY)); - for (unsigned f = 0; f < data.length(); f += 9) + for (size_t f = 0; f < data.length(); f += 9) { if (f + 9 > data.length()) break; -- cgit v1.2.3-70-g09d2