Changed int to uint to remove warning