From 5990ace9f56eb14ab4ac759ac4e91f42270614b2 Mon Sep 17 00:00:00 2001 From: qwang12 Date: Thu, 27 Nov 2008 02:22:59 +0000 Subject: ICC IA32 Cleanup. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6746 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Compatibility/FrameworkHiiToUefiHiiThunk/HiiDatabase.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'EdkCompatibilityPkg') diff --git a/EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/HiiDatabase.c b/EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/HiiDatabase.c index 1994f893ec..4dd33cfa0b 100644 --- a/EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/HiiDatabase.c +++ b/EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/HiiDatabase.c @@ -280,7 +280,7 @@ HiiFindHandles ( } if (Count > *HandleBufferLength) { - *HandleBufferLength = (Count * sizeof (FRAMEWORK_EFI_HII_HANDLE)); + *HandleBufferLength = (UINT16) (Count * sizeof (FRAMEWORK_EFI_HII_HANDLE)); return EFI_BUFFER_TOO_SMALL; } @@ -299,7 +299,7 @@ HiiFindHandles ( } - *HandleBufferLength = (Count * sizeof (FRAMEWORK_EFI_HII_HANDLE)); + *HandleBufferLength = (UINT16) (Count * sizeof (FRAMEWORK_EFI_HII_HANDLE)); return EFI_SUCCESS; } -- cgit v1.2.3