diff options
author | Jake Garver <jake@nvidia.com> | 2024-07-08 05:00:11 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-03-12 09:38:58 +0000 |
commit | dfe43d74bc1640881d613a43250f3426b216673a (patch) | |
tree | 0558a248bc13f5940074d76c37dea28df61124a9 /BaseTools/Source | |
parent | 81031a51a0148a5ff7904f02cc405c8f3b910c55 (diff) | |
download | edk2-dfe43d74bc1640881d613a43250f3426b216673a.zip edk2-dfe43d74bc1640881d613a43250f3426b216673a.tar.gz edk2-dfe43d74bc1640881d613a43250f3426b216673a.tar.bz2 |
DynamicTablesPkg: Resolve cppcheck findings in macros
The CREATE_CM_OBJECT_ID() and CREATE_TABLE_GEN_ID() macros shift an enum
by 31 bits. As enums are signed integers, this generates a portability
finding from cppcheck. To resolve the finding, we'll cast the enum values
to the type expected as output from the macro.
Signed-off-by: Jake Garver <jake@nvidia.com>
Reviewed-by: Girish Mahadevan <gmahadevan@nvidia.com>
Diffstat (limited to 'BaseTools/Source')
0 files changed, 0 insertions, 0 deletions