diff options
Diffstat (limited to 'core/cpu_caps.cpp')
-rw-r--r-- | core/cpu_caps.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cpu_caps.cpp b/core/cpu_caps.cpp index 103d2437..d4b4d86c 100644 --- a/core/cpu_caps.cpp +++ b/core/cpu_caps.cpp @@ -32,7 +32,7 @@ using reg_type = unsigned int; inline std::array<reg_type,4> get_cpuid(unsigned int f) { std::array<reg_type,4> ret{}; - __get_cpuid(f, &ret[0], &ret[1], &ret[2], &ret[3]); + __get_cpuid(f, ret.data(), &ret[1], &ret[2], &ret[3]); return ret; } #define CAN_GET_CPUID |