More warning fixes

This commit is contained in:
Adam Honse 2024-04-29 18:08:33 -05:00
parent f39409b7aa
commit d3c81d3306
18 changed files with 68 additions and 69 deletions

View file

@ -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();
}