Yes Type mismatch: cannot convert from int to char literal creates a negative int, which is outside the normal range of char (the only unsigned integer primitive).