Commit 3812d595 authored by Manuel Stoeckl's avatar Manuel Stoeckl

Replace uses of strto(u)l

The strtol and strtoul functions allow leading whitespace, and
leading + signs, neither of which make sense in the places they
are used. This change also makes the error handling simpler.
parent 201aea18
Pipeline #257253 passed with stages
in 52 seconds