Qt: Actually fix build on MSVC

This commit is contained in:
Vicki Pfau 2020-12-12 01:57:52 -08:00
parent 715cdd751c
commit 846333ac9a
1 changed files with 1 additions and 1 deletions

View File

@ -417,7 +417,7 @@ bool ReportView::cpuid(unsigned id, unsigned sub, unsigned* regs) {
#ifdef _MSC_VER
__cpuid(reinterpret_cast<int*>(regs), 0);
s_cpuidMax = regs[0];
__cpuid(reinterpret_cast<int*>(regs, 0x80000000);
__cpuid(reinterpret_cast<int*>(regs), 0x80000000);
s_cpuidExtMax = regs[0];
#else
s_cpuidMax = __get_cpuid_max(0, nullptr);