From: Scott Duplichan Date: Fri, 10 Apr 2015 02:41:10 +0000 (+0000) Subject: CorebootModulePkg: Add 'ULL' suffix to avoid gcc 4.4 compile fail X-Git-Tag: edk2-stable201903~10068 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=c3911fd851125cd02b60ec4bfb7be54acc1cbbea 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 Reviewed-by: Bruce Cran Reviewed-by: Jordan Justen git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17145 6f19259b-4bc3-4df7-8a09-765794883524 --- 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 ); }