Skip to content

Fix MPF file compilation#14

Open
moonfixer wants to merge 2 commits into
xan1242:masterfrom
moonfixer:fix-compilation
Open

Fix MPF file compilation#14
moonfixer wants to merge 2 commits into
xan1242:masterfrom
moonfixer:fix-compilation

Conversation

@moonfixer

@moonfixer moonfixer commented May 18, 2026

Copy link
Copy Markdown

In cmpParseACTION function, during conversion of track value, std::stoi throws exception with the argument 0xFFFFFFFF, because it's outside of signed int range.
Fixed by replacing stoi with stoul + converting that to int32_t.
That fixes MPF file compilation.

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