Fix unsigned int bug.