Added the ULL to the 0xFFFFFFFFFFFFFFFF values
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4841 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -859,10 +859,10 @@ IfrFind (
|
||||
|
||||
Result->Type = EFI_IFR_TYPE_NUM_SIZE_64;
|
||||
if (Base >= StrLen (String[1])) {
|
||||
Result->Value.u64 = 0xFFFFFFFFFFFFFFFF;
|
||||
Result->Value.u64 = 0xFFFFFFFFFFFFFFFFULL;
|
||||
} else {
|
||||
StringPtr = StrStr (String[1] + Base, String[0]);
|
||||
Result->Value.u64 = (StringPtr == NULL) ? 0xFFFFFFFFFFFFFFFF : (StringPtr - String[1]);
|
||||
Result->Value.u64 = (StringPtr == NULL) ? 0xFFFFFFFFFFFFFFFFULL : (StringPtr - String[1]);
|
||||
}
|
||||
|
||||
Done:
|
||||
|
Reference in New Issue
Block a user