summaryrefslogtreecommitdiff
path: root/src/guichan/focushandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/focushandler.cpp')
-rw-r--r--src/guichan/focushandler.cpp3
1 files changed, 2 insertions, 1 deletions
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<unsigned int>(
+ mWidgets.size()); i < sz; ++i)
{
if (mWidgets[i] == widget)
{