Skip to content

fixed overflow in map#262

Open
gbr1 wants to merge 1 commit intoarduino:masterfrom
gbr1:master
Open

fixed overflow in map#262
gbr1 wants to merge 1 commit intoarduino:masterfrom
gbr1:master

Conversation

@gbr1
Copy link
Copy Markdown
Member

@gbr1 gbr1 commented Apr 15, 2026

In map function, it could happen which overflow is reached due the multiplication of 2 long type.
Note: This fix doesn't solve for LP64 architecture where long is 64bits as long long

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 15, 2026

CLA assistant check
All committers have signed the CLA.

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