diff options
author | lhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-03-12 00:02:29 +0000 |
---|---|---|
committer | lhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-03-12 00:02:29 +0000 |
commit | ee17f9c1da84b79f1bae9ad388bd955f88dbe6f2 (patch) | |
tree | 4897a1bb14e2fb87df28763f5a1d005277d1bfaa /MdeModulePkg | |
parent | 9cb8724d6897d79ad73f693f8aaa2299c4e6575b (diff) | |
download | edk2-ee17f9c1da84b79f1bae9ad388bd955f88dbe6f2.zip edk2-ee17f9c1da84b79f1bae9ad388bd955f88dbe6f2.tar.gz edk2-ee17f9c1da84b79f1bae9ad388bd955f88dbe6f2.tar.bz2 |
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/Expression.c | 4 | ||||
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c b/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c index adeada2..730f51d 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c @@ -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: diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c b/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c index 093ceff..ed16d7b 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c @@ -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: |