CorebootModulePkg: Add 'ULL' suffix to avoid gcc 4.4 compile fail
authorScott Duplichan <scott@notabs.org>
Fri, 10 Apr 2015 02:41:10 +0000 (02:41 +0000)
committermauricema <mauricema@Edk2>
Fri, 10 Apr 2015 02:41:10 +0000 (02:41 +0000)
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

CorebootModulePkg/CbSupportPei/CbSupportPei.c

index d51553d..4948843 100644 (file)
@@ -238,7 +238,7 @@ CbPeiEntryPoint (
        EFI_RESOURCE_ATTRIBUTE_WRITE_THROUGH_CACHEABLE |\r
        EFI_RESOURCE_ATTRIBUTE_WRITE_BACK_CACHEABLE\r
     ),\r
-    (EFI_PHYSICAL_ADDRESS)(0x100000000),\r
+    (EFI_PHYSICAL_ADDRESS)(0x100000000ULL),\r
     HighMemorySize\r
     );         \r
   }  \r