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

@@ -52,7 +52,7 @@ void MacroActionReplayBuffer::LogAction()
vblog(LOG_INFO, "performed action \"%s\"", it->second.c_str());
} else {
blog(LOG_WARNING, "ignored unknown replay buffer action %d",
_action);
static_cast<int>(_action));
}
}