+ remove a compilation warning

This commit is contained in:
kelson42 2011-03-24 12:03:36 +00:00
parent 71c3bda0cc
commit f7e842db3a
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ namespace kiwix {
unsigned int pageCount = this->estimatedResultCount / this->resultCountPerPage + 1;
if (pageCount > 10)
pageCount = 10;
for (int i=0; i<pageCount; i++) {
for (unsigned int i=0; i<pageCount; i++) {
CDT page;
page["start"] = i * this->resultCountPerPage;
page["end"] = (i+1) * this->resultCountPerPage;