Skip to content

fix(arch/armv8): add explicit casts to fix size_t to uint32_t conversion warnings#315

Open
lbmeng wants to merge 1 commit intobao-project:mainfrom
lbmeng:warning
Open

fix(arch/armv8): add explicit casts to fix size_t to uint32_t conversion warnings#315
lbmeng wants to merge 1 commit intobao-project:mainfrom
lbmeng:warning

Conversation

@lbmeng
Copy link

@lbmeng lbmeng commented Feb 13, 2026

The -Werror=conversion flag causes build failures due to implicit narrowing from size_t (64-bit) to uint32_t (32-bit) in smmuv2 and vgicv3 code. Add explicit (uint32_t) casts where the narrowing is intentional and safe.

…ion warnings

The -Werror=conversion flag causes build failures due to implicit
narrowing from size_t (64-bit) to uint32_t (32-bit) in smmuv2 and
vgicv3 code. Add explicit (uint32_t) casts where the narrowing is
intentional and safe.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
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