Fix linter warnings

This commit is contained in:
badaix 2025-02-13 22:18:17 +01:00 committed by Johannes Pohl
parent 66868e2501
commit 5c41afd9e3
31 changed files with 131 additions and 116 deletions

View file

@ -220,7 +220,7 @@ void JackStream::tryConnect()
bool JackStream::openJackConnection()
{
char* serverName = serverName_.data();
jack_options_t options = (jack_options_t)(JackNoStartServer | JackServerName);
auto options = static_cast<jack_options_t>(JackNoStartServer | JackServerName); // NOLINT
client_ = jack_client_open(name_.c_str(), options, nullptr, serverName);
if (client_ == nullptr)