+ remove a compilation warning

This commit is contained in:
kelson42 2010-04-28 15:16:17 +00:00
parent c1a31db217
commit e6f0e38677
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ namespace kiwix {
/* Count word */
unsigned int Indexer::countWords(const string &text) {
unsigned int numWords = 1;
for(int i=0; i<text.size();) {
for(unsigned int i=0; i<text.size();) {
while(i<text.size() && text[i] != ' ') {
i++;
}