diff options
author | John Fultz <jfultz@wolfram.com> | 2023-07-19 18:07:39 -0500 |
---|---|---|
committer | John Fultz <jfultz@wolfram.com> | 2023-07-19 22:38:25 -0500 |
commit | d302abb430f5cb75e7373197c91e269fdbaf2e61 (patch) | |
tree | 0f52f3cfa5feff989603d81c1c8b4af147cf08cb /quacker/lexicondialog.cpp | |
parent | 490072ac8b3de65f3ad6f00d9d6de9d64b049823 (diff) |
Fix integer size compiler warnings.
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(); |