mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-20 07:35:03 -04:00
Fix type conflicts and truncation warnings in SteelSeriesSiberiaController.cpp
This commit is contained in:
1 parent
67b5803e63
commit
14f65a5728
1 file changed
+2
-2
+2
-2
@@ -13,7 +13,7 @@
|
||||
#include "SteelSeriesSiberiaController.h"
|
||||
#include "StringUtils.h"
|
||||
|
||||
static void send_usb_msg(hid_device* dev, char * data_pkt, unsigned int size)
|
||||
static void send_usb_msg(hid_device* dev, unsigned char * data_pkt, unsigned int size)
|
||||
{
|
||||
unsigned char usb_pkt[16];
|
||||
memset(usb_pkt, 0x00, sizeof(usb_pkt));
|
||||
@@ -80,7 +80,7 @@ void SteelSeriesSiberiaController::SetColor
|
||||
unsigned char blue
|
||||
)
|
||||
{
|
||||
char usb_buf[4];
|
||||
unsigned char usb_buf[4];
|
||||
memset(usb_buf, 0x00, sizeof(usb_buf));
|
||||
|
||||
// Command 1
|
||||
|
||||
Reference in new issue
Block a user