summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-01-21 04:41:37 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-01-21 04:41:37 +0000
commite33e34170fad00309d61d2c2644a6c51f4d3205e (patch)
treefe1afc1e720f867fe3808506760a21100e6bcb5b /MdeModulePkg
parent0d70a7090f008b1d8d5f1592aad3c82e26bf1acf (diff)
downloadedk2-platforms-e33e34170fad00309d61d2c2644a6c51f4d3205e.tar.xz
Enhance code to avoid build error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11261 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Universal/HiiDatabaseDxe/String.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/String.c b/MdeModulePkg/Universal/HiiDatabaseDxe/String.c
index 3c7b491cc4..4b26e4a0d6 100644
--- a/MdeModulePkg/Universal/HiiDatabaseDxe/String.c
+++ b/MdeModulePkg/Universal/HiiDatabaseDxe/String.c
@@ -729,13 +729,13 @@ InsertLackStringBlock (
{
UINT8 *BlockPtr;
UINT8 *StringBlock;
- UINTN SkipLen;
- UINTN OldBlockSize;
- UINTN NewBlockSize;
- UINTN FrontSkipNum;
- UINTN NewUCSBlockLen;
+ UINT32 SkipLen;
+ UINT32 OldBlockSize;
+ UINT32 NewBlockSize;
+ UINT32 FrontSkipNum;
+ UINT32 NewUCSBlockLen;
UINT8 *OldStringAddr;
- UINTN IdCount;
+ UINT32 IdCount;
FrontSkipNum = 0;
SkipLen = 0;