summaryrefslogtreecommitdiffstats
path: root/client/hot_keys.cpp
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-12-06 17:55:16 +0200
committerAlon Levy <alevy@redhat.com>2010-12-08 17:11:45 +0200
commit06749bd66bb3e689bc96be1a3739747912ee0020 (patch)
treedf26e6897c54367f176d3bdeff757896c090a9d5 /client/hot_keys.cpp
parent2cd07dd8f3dd9bf34b1725bb015aecefc93b3454 (diff)
downloadspice-06749bd66bb3e689bc96be1a3739747912ee0020.tar.gz
spice-06749bd66bb3e689bc96be1a3739747912ee0020.tar.xz
spice-06749bd66bb3e689bc96be1a3739747912ee0020.zip
mingw32 build: fix signed/unsigned warnings as errors
Diffstat (limited to 'client/hot_keys.cpp')
-rw-r--r--client/hot_keys.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/hot_keys.cpp b/client/hot_keys.cpp
index d6564b70..60b58a41 100644
--- a/client/hot_keys.cpp
+++ b/client/hot_keys.cpp
@@ -114,7 +114,7 @@ void HotKeysParser::add_key(HotkeySet& keys, const char* key)
{ "f12", REDKEY_F12, REDKEY_INVALID }
};
- for (int i = 0; i < (sizeof(keyboard) / sizeof(keyboard[0])); ++i) {
+ for (unsigned i = 0; i < (sizeof(keyboard) / sizeof(keyboard[0])); ++i) {
if (strcasecmp(key, keyboard[i].name) == 0) {
HotkeyKey hotkey;
hotkey.main = keyboard[i].main;