From 56dffd9db16debbb630d17e17da2100486ac7223 Mon Sep 17 00:00:00 2001 From: lizzie Date: Sun, 3 May 2026 07:49:31 +0000 Subject: [PATCH] fx --- src/core/file_sys/ips_layer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/file_sys/ips_layer.cpp b/src/core/file_sys/ips_layer.cpp index 6b3cde39fe..c673cdf84e 100644 --- a/src/core/file_sys/ips_layer.cpp +++ b/src/core/file_sys/ips_layer.cpp @@ -223,7 +223,7 @@ void IPSwitchCompiler::Parse() { } else if (StartsWith(line, "@")) { LOG_WARNING(Loader, "Unknown flag {}", line); } else { - auto offset = std::strtoul(line.data(), nullptr, 16); + size_t offset = size_t(std::strtoul(line.data(), nullptr, 16)); offset += size_t(offset_shift); if (auto const first_quote = line.find_first_of("\"\'"); first_quote != std::string::npos) { // string replacement