mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2025-12-23 23:37:48 -05:00
Fix warning related to sizeof() on const char array, the null terminator is not used here so reworked the array to explicitly be 4 elements
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
/*-----------------------------------------------------*\
|
||||
| OpenRGB SDK Magic Value "ORGB" |
|
||||
\*-----------------------------------------------------*/
|
||||
const char * openrgb_sdk_magic = "ORGB";
|
||||
const char openrgb_sdk_magic[OPENRGB_SDK_MAGIC_SIZE] = { 'O', 'R', 'G', 'B' };
|
||||
|
||||
void InitNetPacketHeader
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user