Skip to content

Commit 1b79a6e

Browse files
committed
Fixed unsigned comparison warning.
1 parent ce9775b commit 1b79a6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wordlistvalidator.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ QValidator::State WordlistValidator::validate(QString& input, int& pos) const
5151
newInput += lastWord + ' ';
5252
lastWord.clear();
5353
}
54-
else if (i < wordlist.size() && newPos > newInput.size())
54+
else if (i < (int)wordlist.size() && newPos > newInput.size())
5555
{
5656
// Remove words that are too short.
5757
newPos = newInput.size() - 1;

0 commit comments

Comments
 (0)