On 4/5/2015 10:19 PM, Scott Duplichan wrote:
> Add ll siffix to 64-bit constants, otherwise gcc44 reports error:
> integer constant is too large for 'long' type
> [...]
> -    (EFI_PHYSICAL_ADDRESS)(0x100000000),
> +    (EFI_PHYSICAL_ADDRESS)(0x100000000ll),

I wonder if upper-case 'L' would be better? e.g. from 
https://www.securecoding.cert.org/confluence/pages/viewpage.action?pageId=19759250
 
:

"Lowercase letter l (ell) can easily be confused with the digit 1 (one). 
This can be particularly confusing when indicating that an integer 
literal constant is a long value. This recommendation is similar to 
DCL02-C. Use visually distinct identifiers.

Likewise, you should use uppercase LL rather than lowercase ll when 
indicating that an integer literal constant is a long long value."

-- 
Bruce


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to