fix parse_check() argv's constantness
add explicit cast from size_type to int