svc: Fix type consistency (exposed on macOS)

This commit is contained in:
Merry 2023-02-21 21:36:20 +00:00
parent 89221ca7d5
commit c9678bda24
14 changed files with 54 additions and 54 deletions

View file

@ -568,7 +568,7 @@ private:
const u64* const state_words = Array<type>();
const u64 num_query_words = size / BYTES_PER_WORD + 1;
const u64 word_begin = offset / BYTES_PER_WORD;
const u64 word_end = std::min(word_begin + num_query_words, NumWords());
const u64 word_end = std::min<u64>(word_begin + num_query_words, NumWords());
const u64 page_base = offset / BYTES_PER_PAGE;
const u64 page_limit = Common::DivCeil(offset + size, BYTES_PER_PAGE);
u64 begin = std::numeric_limits<u64>::max();