Fixed a warning about unsigned int comparison - probably was a real issue.