From d302abb430f5cb75e7373197c91e269fdbaf2e61 Mon Sep 17 00:00:00 2001 From: John Fultz Date: Wed, 19 Jul 2023 18:07:39 -0500 Subject: Fix integer size compiler warnings. --- quacker/quacker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'quacker/quacker.cpp') 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) -- cgit v1.2.3