mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
kernel32: Use PROCESSOR_FEATURE_MAX in IsProcessorFeaturePresent.
This commit is contained in:
parent
b97a07bc07
commit
7e8a5490bd
@ -212,7 +212,7 @@ VOID WINAPI GetNativeSystemInfo(
|
||||
BOOL WINAPI IsProcessorFeaturePresent (
|
||||
DWORD feature /* [in] Feature number, (PF_ constants from "winnt.h") */)
|
||||
{
|
||||
if (feature < 64)
|
||||
if (feature < PROCESSOR_FEATURE_MAX)
|
||||
return SHARED_DATA->ProcessorFeatures[feature];
|
||||
else
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user