diff options
author | Rebecca Cran <rebecca@quicinc.com> | 2023-02-09 07:24:16 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-03-17 17:55:48 +0000 |
commit | d6107c593bd0a6e9659b5290d245e22614232b4a (patch) | |
tree | 449b6007c215239fc1460afa731066c660fb7376 /MdePkg/Include/Library | |
parent | 410ca0ff94a42ee541dd6ceab70ea974eeb7e500 (diff) | |
download | edk2-d6107c593bd0a6e9659b5290d245e22614232b4a.tar.gz edk2-d6107c593bd0a6e9659b5290d245e22614232b4a.tar.bz2 edk2-d6107c593bd0a6e9659b5290d245e22614232b4a.zip |
MdePkg: Update Base.h to be compliant with C11
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>
Diffstat (limited to 'MdePkg/Include/Library')
0 files changed, 0 insertions, 0 deletions