diff --git a/src/backend_x64/interface_x64.cpp b/src/backend_x64/interface_x64.cpp index 39585f0b..67d8e33e 100644 --- a/src/backend_x64/interface_x64.cpp +++ b/src/backend_x64/interface_x64.cpp @@ -177,7 +177,7 @@ void Jit::ClearCache() { } void Jit::InvalidateCacheRange(std::uint32_t start_address, std::size_t length) { - impl->invalid_cache_ranges.add(boost::icl::discrete_interval::closed(start_address, start_address + length - 1)); + impl->invalid_cache_ranges.add(boost::icl::discrete_interval::closed(start_address, static_cast(start_address + length - 1))); impl->RequestCacheInvalidation(); }