mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-19 23:32:59 -04:00
Even more warning fixes
This commit is contained in:
1 parent
d3c81d3306
commit
ba57bad361
29 files changed
+116
-117
No files matched your search
@@ -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