The return value of getopt is an int, not a char