Explicitly cast enum class to int

This commit is contained in:
WarmUpTill
2021-05-15 17:50:26 +02:00
committed by WarmUpTill
parent c44b0a2ac2
commit 33d2def126
4 changed files with 5 additions and 4 deletions

View File

@@ -39,7 +39,8 @@ void MacroActionAudio::LogAction()
it->second.c_str(),
GetWeakSourceName(_audioSource).c_str());
} else {
blog(LOG_WARNING, "ignored unknown audio action %d", _action);
blog(LOG_WARNING, "ignored unknown audio action %d",
static_cast<int>(_action));
}
}