diff options
Diffstat (limited to 'src/core/hle/kernel/k_slab_heap.h')
| -rw-r--r-- | src/core/hle/kernel/k_slab_heap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_slab_heap.h b/src/core/hle/kernel/k_slab_heap.h index 334afebb71..2ec3d185dc 100644 --- a/src/core/hle/kernel/k_slab_heap.h +++ b/src/core/hle/kernel/k_slab_heap.h @@ -149,7 +149,7 @@ public: size_t GetObjectIndex(const void* obj) const { if constexpr (SupportDynamicExpansion) { if (!this->Contains(reinterpret_cast<uintptr_t>(obj))) { - return std::numeric_limits<size_t>::max(); + return (std::numeric_limits<size_t>::max)(); } } |
