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/quacker.cpp | |
parent | 490072ac8b3de65f3ad6f00d9d6de9d64b049823 (diff) |
Fix integer size compiler warnings.
Diffstat (limited to 'quacker/quacker.cpp')
-rw-r--r-- | quacker/quacker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quacker/quacker.cpp b/quacker/quacker.cpp index 9e133c4..ba3ad6a 100644 --- a/quacker/quacker.cpp +++ b/quacker/quacker.cpp @@ -2176,11 +2176,11 @@ void TopLevel::about() QString line = strm.readLine(); while (!line.isNull()) { - int startPos = line.indexOf(':'); + qsizetype startPos = line.indexOf(':'); if (startPos != -1 && startPos + 1 < line.size()) { line = line.mid(startPos + 1); - int endPos = line.indexOf(':'); + qsizetype endPos = line.indexOf(':'); line = line.mid(0, endPos); // Only include lines with a copyright (the word or the symbol) in them if (line.indexOf("copyright", 0, Qt::CaseInsensitive) != -1 || line.indexOf(QChar(0xA9)) != -1) |