mirror of
https://github.com/jtgans/g13gui.git
synced 2025-06-20 00:14:09 -04:00
g13d: Fix a comparison with signed vs. unsigned
This commit is contained in:
parent
d910829930
commit
cb916e4d24
@ -351,8 +351,9 @@ G13_Device::G13_Device(G13_Manager &manager, libusb_device_handle *handle,
|
||||
_current_profile = ProfilePtr(new G13_Profile(*this, "default"));
|
||||
_profiles["default"] = _current_profile;
|
||||
|
||||
for (int i = 0; i < sizeof(keys); i++)
|
||||
for (unsigned int i = 0; i < sizeof(keys); i++) {
|
||||
keys[i] = false;
|
||||
}
|
||||
|
||||
lcd().image_clear();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user