summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/HiiDatabaseDxe
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-10 06:01:18 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-10 06:01:18 +0000
commitd7c0e60c44d73ca4834a7ca4ab63509349e15899 (patch)
tree183b057c7d16ad9794614ada7b38de5520b09c0d /MdeModulePkg/Universal/HiiDatabaseDxe
parent19796be36046740f756c46d5e1f14e2548907ed1 (diff)
downloadedk2-platforms-d7c0e60c44d73ca4834a7ca4ab63509349e15899.tar.xz
Fix ICC build break by do data conversion.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9963 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/HiiDatabaseDxe')
-rw-r--r--MdeModulePkg/Universal/HiiDatabaseDxe/String.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/String.c b/MdeModulePkg/Universal/HiiDatabaseDxe/String.c
index bda7d5ac06..5fc3642115 100644
--- a/MdeModulePkg/Universal/HiiDatabaseDxe/String.c
+++ b/MdeModulePkg/Universal/HiiDatabaseDxe/String.c
@@ -560,7 +560,7 @@ FindStringBlock (
// Get last string ID
//
if (StringId == (EFI_STRING_ID) (-1)) {
- *LastStringId = CurrentStringId - 1;
+ *LastStringId = (EFI_STRING_ID) (CurrentStringId - 1);
return EFI_SUCCESS;
}
@@ -1103,7 +1103,7 @@ HiiNewString (
//
// Set new StringId
//
- *StringId = NewStringId + 1;
+ *StringId = (EFI_STRING_ID) (NewStringId + 1);
}
if (MatchStringPackage != NULL) {