mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-20 07:35:03 -04:00
Fix possible loss of data warning in RGBController_EVGAKeyboard.cpp
This commit is contained in:
1 parent
c392e2c6ca
commit
1ba692a0ea
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user