mirror of
https://github.com/anrieff/libcpuid
synced 2025-01-23 20:06:41 +00:00
Fix issue #179 (Misprint, not enough zeros in the constant)
As suggested in the issue comment.
This commit is contained in:
parent
3b0a1f7e5b
commit
d02c05428d
1 changed files with 1 additions and 1 deletions
|
@ -725,7 +725,7 @@ static int cpuid_basic_identify(struct cpu_raw_data_t* raw, struct cpu_id_t* dat
|
|||
data->ext_family = data->family + xfamily;
|
||||
data->ext_model = data->model + (xmodel << 4);
|
||||
}
|
||||
ext = raw->ext_cpuid[0][EAX] - 0x8000000;
|
||||
ext = raw->ext_cpuid[0][EAX] - 0x80000000;
|
||||
|
||||
/* obtain the brand string, if present: */
|
||||
if (ext >= 4) {
|
||||
|
|
Loading…
Reference in a new issue