mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-28 18:01:39 -04:00
More warning fixes
This commit is contained in:
@@ -59,7 +59,7 @@ void ElgatoKeyLightController::SetColor(hsv_t hsv_color)
|
||||
|
||||
port.tcp_client_connect();
|
||||
std::string buf = GetRequest(hsv_color.value, k_value);
|
||||
port.tcp_client_write((char *)buf.c_str(), buf.length() + 1);
|
||||
port.tcp_client_write((char *)buf.c_str(), (int)buf.length() + 1);
|
||||
|
||||
port.tcp_close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user