diff options
| author | Yeoreum Yun <yeoreum.yun@arm.com> | 2026-08-10 17:40:06 +0300 |
|---|---|---|
| committer | pierregondois <41638958+pierregondois@users.noreply.github.com> | 2026-08-27 11:04:16 +0300 |
| commit | 7d2f6b6e31fad2c96c6fc55c17e79f8c96b4bfcf (patch) | |
| tree | c2a89ea6ebe64961d4c55aea0aab29456f523e80 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c | |
| parent | 19d74a12441794183d14f80ebc3e356de26320c4 (diff) | |
| download | edk2-7d2f6b6e31fad2c96c6fc55c17e79f8c96b4bfcf.tar.xz | |
DynamicTablesPkg: fix SmbiosType2Genertor build failure with clang
BaseboardCount type is UINT32. Using MAX_UINTN in the comparision
triggers below build error:
type 'UINT32' (aka 'unsigned int') is always false
[-Werror,-Wtautological-constant-out-of-range-compare]
199 | (BaseboardCount > (MAX_UINTN / sizeof (*CmObjectList))))
To address this, use MAX_UINT32 instead of MAX_UINTN.
Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c')
0 files changed, 0 insertions, 0 deletions
