mirror of https://github.com/acidanthera/audk.git
d6107c593b
With the introduction of the use of _Static_assert, edk2 requires a C11 compatible compiler. Update Include/Base.h to be compliant with C11. As of C11, the maximum type of an enum is type `int`. Since the UEFI Specification 2.3.1 Errata C allows either `int` or `unsigned int`, fix the 32-bit enum check to use a signed int. Since the UEFI 2.3 Specification only allowed signed int, update the comment to reference 2.3.1 Errata C where the change was made to allow unsigned int. Signed-off-by: Rebecca Cran <rebecca@quicinc.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com> |
||
---|---|---|
.. | ||
Include | ||
Library | ||
Test | ||
MdeLibs.dsc.inc | ||
MdePkg.ci.yaml | ||
MdePkg.dec | ||
MdePkg.dsc | ||
MdePkg.uni | ||
MdePkgExtra.uni |