Directly assigning should do the job for you.

char c = i;