From a2090b8559ef7fa40a4c12036658826f460fa8e1 Mon Sep 17 00:00:00 2001 From: Petr Ohlidal Date: Sun, 15 Oct 2023 02:11:14 +0200 Subject: [PATCH] ScriptEngine.cpp: libfmt build fix --- source/main/scripting/ScriptEngine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/main/scripting/ScriptEngine.cpp b/source/main/scripting/ScriptEngine.cpp index 3cddfae9fc..63deaf8fcb 100644 --- a/source/main/scripting/ScriptEngine.cpp +++ b/source/main/scripting/ScriptEngine.cpp @@ -327,12 +327,12 @@ int ScriptEngine::executeContextAndHandleErrors(ScriptUnitId_t nid) if (context->GetFunction()) { SLOG(fmt::format("The script ended with error code asCONTEXT_NOT_PREPARED; Function to execute: {},currently triggered event: {}, NID: {}", - context->GetFunction()->GetName(), m_currently_executing_event_trigger, nid)); + context->GetFunction()->GetName(), (int)m_currently_executing_event_trigger, nid)); } else { SLOG(fmt::format("The script ended with error code asCONTEXT_NOT_PREPARED; Function to execute NOT SET,currently triggered event: {}, NID: {}", - m_currently_executing_event_trigger, nid)); + (int)m_currently_executing_event_trigger, nid)); } } else