summaryrefslogtreecommitdiffstats
path: root/CorebootModulePkg
diff options
context:
space:
mode:
authorScott Duplichan <scott@notabs.org>2015-04-10 02:41:10 +0000
committermauricema <mauricema@Edk2>2015-04-10 02:41:10 +0000
commitc3911fd851125cd02b60ec4bfb7be54acc1cbbea (patch)
tree7cf17f86b409a97b89923a026f28103e9488a286 /CorebootModulePkg
parent3b17ae9e51998a7002d7e00cb25243969c570215 (diff)
downloadedk2-c3911fd851125cd02b60ec4bfb7be54acc1cbbea.tar.gz
edk2-c3911fd851125cd02b60ec4bfb7be54acc1cbbea.tar.bz2
edk2-c3911fd851125cd02b60ec4bfb7be54acc1cbbea.zip
CorebootModulePkg: Add 'ULL' suffix to avoid gcc 4.4 compile fail
Add ULL siffix to 64-bit constants, otherwise gcc44 reports error: integer constant is too large for 'long' type Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Scott Duplichan <scott@notabs.org> Reviewed-by: Bruce Cran <bruce.cran@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17145 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'CorebootModulePkg')
-rw-r--r--CorebootModulePkg/CbSupportPei/CbSupportPei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CorebootModulePkg/CbSupportPei/CbSupportPei.c b/CorebootModulePkg/CbSupportPei/CbSupportPei.c
index d51553dbc6..49488438a2 100644
--- a/CorebootModulePkg/CbSupportPei/CbSupportPei.c
+++ b/CorebootModulePkg/CbSupportPei/CbSupportPei.c
@@ -238,7 +238,7 @@ CbPeiEntryPoint (
EFI_RESOURCE_ATTRIBUTE_WRITE_THROUGH_CACHEABLE |
EFI_RESOURCE_ATTRIBUTE_WRITE_BACK_CACHEABLE
),
- (EFI_PHYSICAL_ADDRESS)(0x100000000),
+ (EFI_PHYSICAL_ADDRESS)(0x100000000ULL),
HighMemorySize
);
}