Promote chars to uints, not sure it is the right thing to do