mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-02-26 11:17:14 -05:00
Fix warning in AlienwareAW3423DWFController.cpp
This commit is contained in:
@@ -127,7 +127,7 @@ std::vector<unsigned char> AlienwareAW3423DWFController::GenerateKey(
|
||||
if(response.size() > 14)
|
||||
{
|
||||
unsigned char idx = response[14] & 0x07;
|
||||
if((idx + 8) < response.size())
|
||||
if((idx + 8) < (unsigned char)response.size())
|
||||
{
|
||||
out_buffer[idx] ^= response[idx + 8];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user