From 7e8a5490bd0da9dc0586e8438671380dfc3fc359 Mon Sep 17 00:00:00 2001 From: James Eder Date: Thu, 6 Sep 2012 09:23:14 -0600 Subject: [PATCH] kernel32: Use PROCESSOR_FEATURE_MAX in IsProcessorFeaturePresent. --- dlls/kernel32/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/kernel32/cpu.c b/dlls/kernel32/cpu.c index 996d776e3e5..08603624fdf 100644 --- a/dlls/kernel32/cpu.c +++ b/dlls/kernel32/cpu.c @@ -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; -- 2.11.4.GIT