Added unsigned char cast (already done on master but not one-shot).