Skip to content
Snippets Groups Projects
Commit 0e09571f authored by Arseny Kapoulkine's avatar Arseny Kapoulkine
Browse files

Fix integer overflow detection with leading zeros

Since they don't contribute to the resulting value just skip them before
parsing. This matches the behavior of strtol/strtoll and results in more
intuitive behavior.
parent e8e54ea5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment