summaryrefslogtreecommitdiff
path: root/NetworkPkg/TcpDxe
diff options
context:
space:
mode:
authorMichael Kinney <michael.d.kinney@intel.com>2016-08-17 23:41:20 -0700
committerMichael Kinney <michael.d.kinney@intel.com>2016-10-27 22:22:57 -0700
commit6440385b17def888544c2454ffba58384b929a22 (patch)
treef8249d5f6821f70fc0d83d333f1d62dd2fcd2658 /NetworkPkg/TcpDxe
parent2b27b557277a52998e2387333cc834e09a887c18 (diff)
downloadedk2-6440385b17def888544c2454ffba58384b929a22.zip
edk2-6440385b17def888544c2454ffba58384b929a22.tar.gz
edk2-6440385b17def888544c2454ffba58384b929a22.tar.bz2
MdePkg/Include: Add enumeration size checks to Base.h
https://bugzilla.tianocore.org/show_bug.cgi?id=181 Add size check for 8-bit, 16-bit, and 32-bit enums to make sure they follow the UEFI Specification 2.3.1 Data Types. <Enumerated Type> Element of a standard ANSI C enum type declaration. Type INT32.or UINT32. ANSI C does not define the size of sign of an enum so they should never be used in structures. ANSI C integer promotion rules make INT32 or UINT32 interchangeable when passed as an argument to a function. Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney <michael.d.kinney@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'NetworkPkg/TcpDxe')
0 files changed, 0 insertions, 0 deletions