Fix warning

This commit is contained in:
momo5502
2024-09-13 19:40:05 +02:00
parent f1127ce170
commit 2be89d0ae2

View File

@@ -271,7 +271,7 @@ namespace
const auto total_length = gs.get_next_address() - context.process_params.value();
proc_params.Length = std::max(sizeof(proc_params), total_length);
proc_params.Length = static_cast<uint32_t>(std::max(sizeof(proc_params), total_length));
proc_params.MaximumLength = proc_params.Length;
});