From 1d843dd814f92004efbb4574be0d898d4edf6359 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 2 Sep 2013 20:49:43 +0300 Subject: fix compilation warning. --- src/gui/setup_input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') diff --git a/src/gui/setup_input.cpp b/src/gui/setup_input.cpp index 6be11a6ba..3f644085e 100644 --- a/src/gui/setup_input.cpp +++ b/src/gui/setup_input.cpp @@ -318,7 +318,7 @@ void Setup_Input::refreshAssignedKey(const int index) else { std::string str = gettext(key.name.c_str()); - int sz = 20; + unsigned int sz = 20; if (mainGraphics->mWidth > 800) sz = 30; while (str.size() < sz) -- cgit v1.2.3-70-g09d2