From 4f8675083cefadb1b330dcd8f5f27ce5c585a302 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Thu, 7 Dec 2017 20:26:46 +0000 Subject: [PATCH] interface_x64: Fix MSVC cast warning --- src/backend_x64/interface_x64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }