From 62ffd2023d9073e452fe2e2f50cf6b2f11224d6f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 21 Aug 2012 22:44:44 +0300 Subject: next code style changes. --- src/guichan/focushandler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/guichan/focushandler.cpp') diff --git a/src/guichan/focushandler.cpp b/src/guichan/focushandler.cpp index 3a5424851..9be06c582 100644 --- a/src/guichan/focushandler.cpp +++ b/src/guichan/focushandler.cpp @@ -74,7 +74,8 @@ namespace gcn return; int toBeFocusedIndex = -1; - for (unsigned int i = 0, sz = mWidgets.size(); i < sz; ++i) + for (unsigned int i = 0, sz = static_cast( + mWidgets.size()); i < sz; ++i) { if (mWidgets[i] == widget) { -- cgit v1.2.3-70-g09d2