diff --git a/src/macro-action-audio.cpp b/src/macro-action-audio.cpp index 8614e842..2f588a04 100644 --- a/src/macro-action-audio.cpp +++ b/src/macro-action-audio.cpp @@ -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(_action)); } } diff --git a/src/macro-action-recording.cpp b/src/macro-action-recording.cpp index 9c79ee8b..e479b899 100644 --- a/src/macro-action-recording.cpp +++ b/src/macro-action-recording.cpp @@ -55,7 +55,7 @@ void MacroActionRecord::LogAction() vblog(LOG_INFO, "performed action \"%s\"", it->second.c_str()); } else { blog(LOG_WARNING, "ignored unknown recording action %d", - _action); + static_cast(_action)); } } diff --git a/src/macro-action-replay-buffer.cpp b/src/macro-action-replay-buffer.cpp index 942f4156..0785bbed 100644 --- a/src/macro-action-replay-buffer.cpp +++ b/src/macro-action-replay-buffer.cpp @@ -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(_action)); } } diff --git a/src/macro-action-streaming.cpp b/src/macro-action-streaming.cpp index 09b689de..56dc0c97 100644 --- a/src/macro-action-streaming.cpp +++ b/src/macro-action-streaming.cpp @@ -43,7 +43,7 @@ void MacroActionStream::LogAction() vblog(LOG_INFO, "performed action \"%s\"", it->second.c_str()); } else { blog(LOG_WARNING, "ignored unknown streaming action %d", - _action); + static_cast(_action)); } }