From 4e308cce39c64e3d2a7c4a21ce59b6390f9dc8cd Mon Sep 17 00:00:00 2001 From: kobalicek Date: Sun, 11 Jan 2015 20:47:10 +0100 Subject: [PATCH] Fixed typo in callCpuId when compiled by VS2003. --- src/asmjit/x86/x86cpuinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asmjit/x86/x86cpuinfo.cpp b/src/asmjit/x86/x86cpuinfo.cpp index ad68c7e..7b2583b 100644 --- a/src/asmjit/x86/x86cpuinfo.cpp +++ b/src/asmjit/x86/x86cpuinfo.cpp @@ -109,7 +109,7 @@ void X86CpuUtil::callCpuId(uint32_t inEax, uint32_t inEcx, X86CpuId* result) { __cpuidex(reinterpret_cast(result->i), inEax, inEcx); # else // _MSC_VER < 1400 uint32_t cpuid_eax = inEax; - uint32_t cpuid_ecx = inCax; + uint32_t cpuid_ecx = inEcx; uint32_t* cpuid_out = result->i; __asm {