From f726748ebe9dec64ce4c95aa8dc4d23b27dd7d52 Mon Sep 17 00:00:00 2001 From: bicarus-dev <202771338+bicarus-dev@users.noreply.github.com> Date: Thu, 18 Dec 2025 02:48:26 -0800 Subject: [PATCH] build: fix debug build (#461) Fix build break of DEBUG build after updating FMT lib --- src/spice2x/acio2emu/packet.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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;