summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Compatibility
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-27 02:22:59 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-27 02:22:59 +0000
commit5990ace9f56eb14ab4ac759ac4e91f42270614b2 (patch)
tree3e3a5a6614d76910e8f256ba716d71fc562b5da1 /EdkCompatibilityPkg/Compatibility
parent25ce1e97eb2843ea8192e153723af5248a34454a (diff)
downloadedk2-platforms-5990ace9f56eb14ab4ac759ac4e91f42270614b2.tar.xz
ICC IA32 Cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6746 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg/Compatibility')
-rw-r--r--EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/HiiDatabase.c4
1 files changed, 2 insertions, 2 deletions
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;
}