diff options
Diffstat (limited to 'quacker/lexicondialog.cpp')
-rw-r--r-- | quacker/lexicondialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quacker/lexicondialog.cpp b/quacker/lexicondialog.cpp index 04092f1..a99e84b 100644 --- a/quacker/lexicondialog.cpp +++ b/quacker/lexicondialog.cpp @@ -230,7 +230,7 @@ void LexiconDialog::addWordsFromTextFile(const QString &textFile) if (firstChar < 'A') continue; // allows the usage of most punctuation characters as comments int playability = 0; - for (int i = word.size() - 1; i > 0; i--) + for (int i = int(word.size()) - 1; i > 0; i--) { if (word[i].isDigit()) playability = playability * 10 + word[i].digitValue(); |