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
This commit is contained in:
@ -560,7 +560,7 @@ FindStringBlock (
|
|||||||
// Get last string ID
|
// Get last string ID
|
||||||
//
|
//
|
||||||
if (StringId == (EFI_STRING_ID) (-1)) {
|
if (StringId == (EFI_STRING_ID) (-1)) {
|
||||||
*LastStringId = CurrentStringId - 1;
|
*LastStringId = (EFI_STRING_ID) (CurrentStringId - 1);
|
||||||
return EFI_SUCCESS;
|
return EFI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1103,7 +1103,7 @@ HiiNewString (
|
|||||||
//
|
//
|
||||||
// Set new StringId
|
// Set new StringId
|
||||||
//
|
//
|
||||||
*StringId = NewStringId + 1;
|
*StringId = (EFI_STRING_ID) (NewStringId + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (MatchStringPackage != NULL) {
|
if (MatchStringPackage != NULL) {
|
||||||
|
Reference in New Issue
Block a user