e64aaeac2a
getopt returns int and not char, so assigning the value to char is not ideal, especially on platforms with unsigned chars.