diff options
| author | fearlessTobi <thm.frey@gmail.com> | 2018-09-15 15:21:06 +0200 |
|---|---|---|
| committer | fearlessTobi <thm.frey@gmail.com> | 2018-09-15 15:21:06 +0200 |
| commit | 63c2e32e207d31ecadd9022e1d7cd705c9febac8 (patch) | |
| tree | 8a90e8ef2804f147dff7225a543a8740ecf7160c /src/common/x64/xbyak_util.h | |
| parent | df5a44a40b9d691f1e80f369c4aaa6ed89676955 (diff) | |
Port #4182 from Citra: "Prefix all size_t with std::"
Diffstat (limited to 'src/common/x64/xbyak_util.h')
| -rw-r--r-- | src/common/x64/xbyak_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/x64/xbyak_util.h b/src/common/x64/xbyak_util.h index 02323a017..5cc8a8c76 100644 --- a/src/common/x64/xbyak_util.h +++ b/src/common/x64/xbyak_util.h @@ -34,7 +34,7 @@ inline bool IsWithin2G(const Xbyak::CodeGenerator& code, uintptr_t target) { template <typename T> inline void CallFarFunction(Xbyak::CodeGenerator& code, const T f) { static_assert(std::is_pointer_v<T>, "Argument must be a (function) pointer."); - size_t addr = reinterpret_cast<size_t>(f); + std::size_t addr = reinterpret_cast<std::size_t>(f); if (IsWithin2G(code, addr)) { code.call(f); } else { |
