use the correct data type for the CR4 register

This commit is contained in:
Stefan Lankes 2012-06-13 11:23:05 +02:00
parent ab27285843
commit be3eed681e

View file

@ -31,7 +31,8 @@ static uint32_t cpu_freq = 0;
int cpu_detection(void)
{
uint32_t a, b, cr4;
uint32_t a, b;
size_t cr4;
cpuid(1, &a, &b, &cpu_info.feature2, &cpu_info.feature1);