mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-09-08 11:20:43 -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 "SteelSeriesSiberiaController.h"
|
||||||
#include "StringUtils.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];
|
unsigned char usb_pkt[16];
|
||||||
memset(usb_pkt, 0x00, sizeof(usb_pkt));
|
memset(usb_pkt, 0x00, sizeof(usb_pkt));
|
||||||
@@ -80,7 +80,7 @@ void SteelSeriesSiberiaController::SetColor
|
|||||||
unsigned char blue
|
unsigned char blue
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
char usb_buf[4];
|
unsigned char usb_buf[4];
|
||||||
memset(usb_buf, 0x00, sizeof(usb_buf));
|
memset(usb_buf, 0x00, sizeof(usb_buf));
|
||||||
|
|
||||||
// Command 1
|
// Command 1
|
||||||
|
|||||||
Reference in new issue
Block a user