Got rid of 'Comparison Between Signed And Unsigned Integer Expressions' compiler warning.