>>337
ud = (unsigned char)cd;