diff --git a/src/spice2x/acio2emu/packet.cpp b/src/spice2x/acio2emu/packet.cpp index a9af536..7247259 100644 --- a/src/spice2x/acio2emu/packet.cpp +++ b/src/spice2x/acio2emu/packet.cpp @@ -95,12 +95,19 @@ namespace acio2emu { break; default: - log_fatal("acio2emu", "cannot set step: unknown value: {}", s); + log_fatal( + "acio2emu", + "cannot set step: unknown value: {}", + static_cast(s)); break; } if (!valid) { - log_fatal("acio2emu", "illegal transition detected: {} -> {}", step_, s); + log_fatal( + "acio2emu", + "illegal transition detected: {} -> {}", + static_cast(step_), + static_cast(s)); } #endif step_ = s;