Use strtol instead of atoi in asn1parse