mirror of https://github.com/acidanthera/audk.git
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:
parent
9cb8724d68
commit
ee17f9c1da
|
@ -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:
|
||||
|
|
|
@ -909,7 +909,7 @@ ParseOpCodes (
|
|||
|
||||
case EFI_IFR_ONES_OP:
|
||||
Value->Type = EFI_IFR_TYPE_NUM_SIZE_64;
|
||||
Value->Value.u64 = 0xffffffffffffffff;
|
||||
Value->Value.u64 = 0xffffffffffffffffULL;
|
||||
break;
|
||||
|
||||
case EFI_IFR_UINT8_OP:
|
||||
|
|
Loading…
Reference in New Issue