mirror of https://github.com/kiwix/libkiwix.git
+ remove a compilation warning
This commit is contained in:
parent
71c3bda0cc
commit
f7e842db3a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue