mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-02-24 02:06:44 -05:00
Even more warning fixes
This commit is contained in:
@@ -333,9 +333,9 @@ int DasKeyboardController::ReceiveData(unsigned char *data, const unsigned int m
|
||||
{
|
||||
return(-1);
|
||||
}
|
||||
if(response_size > max_length)
|
||||
if(response_size > (int)max_length)
|
||||
{
|
||||
response_size = static_cast<int>(max_length);
|
||||
response_size = (int)max_length;
|
||||
}
|
||||
|
||||
/*-----------------------------------------------------*\
|
||||
|
||||
Reference in New Issue
Block a user