Use int-size types instead of char where it makes no difference.