aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/k_page_bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/k_page_bitmap.h')
-rw-r--r--src/core/hle/kernel/k_page_bitmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_page_bitmap.h b/src/core/hle/kernel/k_page_bitmap.h
index 0ff9877326..4ad5483b28 100644
--- a/src/core/hle/kernel/k_page_bitmap.h
+++ b/src/core/hle/kernel/k_page_bitmap.h
@@ -83,7 +83,7 @@ public:
}
// Determine how many bits to take this round.
- const auto cur_bits = std::min(num_bits, m_bits_available);
+ const auto cur_bits = (std::min)(num_bits, m_bits_available);
// Generate mask for our current bits.
const u64 mask = (static_cast<u64>(1) << cur_bits) - 1;