int xres=7360; uint16_t my_ui16[688]; ... my_ui16[16] = (uint16_t)xres; printf("Xres=%hu\n"); >> Xres=7360