Fix possible loss of data warning in RGBController_EVGAKeyboard.cpp

This commit is contained in:
Adam Honse 2024-07-31 23:28:18 -05:00
parent c392e2c6ca
commit 1ba692a0ea

View file

@ -201,7 +201,7 @@ RGBController_EVGAKeyboard::RGBController_EVGAKeyboard(EVGAKeyboardController* c
/*-----------------------------------------------------*\
| Initialise the random functions from the clock |
\*-----------------------------------------------------*/
std::srand(time(NULL));
std::srand((unsigned int)time(NULL));
controller = controller_ptr;