prog_uchar -> uint8_t