From 5a676df9cddfd659f65c39a1d984971d916fd00b Mon Sep 17 00:00:00 2001 From: Jeff Fan Date: Wed, 2 Mar 2016 10:05:44 +0800 Subject: UefiCpuPkg/Application/Cpuid: Change DisplayFamily/DisplayModel type Change DisplayFamily/DisplayModel type to UINT32 to avoid different size in bitwise operation. Cc: Qiu Shumin Cc: Michael Kinney Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan Reviewed-by: Qiu Shumin Reviewed-by: Michael Kinney --- UefiCpuPkg/Application/Cpuid/Cpuid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'UefiCpuPkg/Application') diff --git a/UefiCpuPkg/Application/Cpuid/Cpuid.c b/UefiCpuPkg/Application/Cpuid/Cpuid.c index b05da3ee0c..371df66994 100644 --- a/UefiCpuPkg/Application/Cpuid/Cpuid.c +++ b/UefiCpuPkg/Application/Cpuid/Cpuid.c @@ -210,8 +210,8 @@ CpuidVersionInfo ( CPUID_VERSION_INFO_EBX Ebx; CPUID_VERSION_INFO_ECX Ecx; CPUID_VERSION_INFO_EDX Edx; - UINTN DisplayFamily; - UINTN DisplayModel; + UINT32 DisplayFamily; + UINT32 DisplayModel; AsmCpuid (CPUID_VERSION_INFO, &Eax.Uint32, &Ebx.Uint32, &Ecx.Uint32, &Edx.Uint32); -- cgit v1.2.3