Fixed variable name mismatch with gcc code.

This commit is contained in:
U-X1\korpela 2014-05-01 10:42:46 -07:00
parent a0a70e88bc
commit 0a1e094a18
1 changed files with 1 additions and 1 deletions

View File

@ -670,7 +670,7 @@ int get_cpuid(unsigned int info_type, unsigned int& a, unsigned int& b, unsigned
#elif defined(__GNUC__)
// GCC compiler
__asm__ __volatile__ ("cpuid": "=a" (ax), "=b" (bx), "=c" (cx), "=d" (dx) : "a" (info_type));
__asm__ __volatile__ ("cpuid": "=a" (a), "=b" (b), "=c" (c), "=d" (d) : "a" (info_type));
return 0;
#else