Use toupper(c) rather than homegrown code.