Skip to content

Add static cast to uint64_t for std::min#1338

Merged
wolfpld merged 1 commit intowolfpld:masterfrom
imsarllc:fix_32bit_arm_issue
Apr 17, 2026
Merged

Add static cast to uint64_t for std::min#1338
wolfpld merged 1 commit intowolfpld:masterfrom
imsarllc:fix_32bit_arm_issue

Conversation

@pa2ees
Copy link
Copy Markdown
Contributor

@pa2ees pa2ees commented Apr 17, 2026

On 32-bit arm, phdr.p_vaddr is 32-bit, which causes a compilation error because std::min expects both arguments to be of the same type. Adding the static cast handles this case explicitly.

On 32-bit arm, phdr.p_vaddr is 32-bit, which causes a compilation
error because std::min expects both arguments to be of the same
type. Adding the static cast handles this case explicitly.
@wolfpld wolfpld merged commit 4e670fc into wolfpld:master Apr 17, 2026
7 checks passed
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.

2 participants