Code

change uint to more portable unsigned int