Skip to content

Conversation

@makubacki
Copy link
Member

Description

MSVC 14.44.35207 reports the following warning:

MdeModulePkg\Core\Pei\Image\Image.c(405): '~': zero extending
  'UINT32' to 'PHYSICAL_ADDRESS' of greater size.

This change casts the section alignment to EFI_PHYSICAL_ADDRESS to ensure consistent alignment mask generation.

  • Breaking change?
  • Impacts security?
  • Includes tests?

How This Was Tested

  • CI
  • Build with MSVC 14.44.35207

Integration Instructions

  • N/A

MSVC 14.44.35207 reports the following warning:

```
MdeModulePkg\Core\Pei\Image\Image.c(405): '~': zero extending
  'UINT32' to 'PHYSICAL_ADDRESS' of greater size.
```

This change casts the section alignment to `EFI_PHYSICAL_ADDRESS`
to ensure consistent alignment mask generation.

Signed-off-by: Michael Kubacki <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant