diff --git a/CMakeLists.txt b/CMakeLists.txt
index 75d2508..7528446 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,6 @@
 cmake_minimum_required(VERSION 3.20)
 include(cmake/color.cmake)
-set(BLT_VERSION 5.2.23)
+set(BLT_VERSION 5.2.24)
 
 set(BLT_TARGET BLT)
 
diff --git a/src/blt/logging/logging.cpp b/src/blt/logging/logging.cpp
index d9339e0..dae74f2 100644
--- a/src/blt/logging/logging.cpp
+++ b/src/blt/logging/logging.cpp
@@ -204,7 +204,7 @@ namespace blt::logging
 		if (end == std::string::npos)
 		{
 			std::stringstream ss;
-			ss << "Invalid format string, missing closing '}' near " << m_fmt.substr(std::min(static_cast<i64>(begin) - 5, 0ll));
+			ss << "Invalid format string, missing closing '}' near " << m_fmt.substr(std::min(static_cast<i64>(begin) - 5, static_cast<i64>(0)));
 			throw std::runtime_error(ss.str());
 		}
 		m_last_fmt_pos = end + 1;