mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-09-13 05:39:07 -04: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:
1 parent
005212b463
commit
cb8ea601cf
2 files changed
+3
-2
No files matched your search
+1
-1
@@ -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