use the correct data type for the CR4 register
This commit is contained in:
parent
ab27285843
commit
be3eed681e
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue