typedef uint16_t uint_fast16_t 

fastest unsigned int with at least 16 bits.