Commit 7e8a5490 authored by James Eder's avatar James Eder Committed by Alexandre Julliard

kernel32: Use PROCESSOR_FEATURE_MAX in IsProcessorFeaturePresent.

parent b97a07bc
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment