This cast is unnecessary since the option parser will give you an integer.