Files
EDK2-fork/DynamicTablesPkg/Include
Jake Garver dfe43d74bc 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>
2025-03-12 09:38:58 +00:00
..