summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/AddCacheEntry.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/QtDialog/AddCacheEntry.cxx')
-rw-r--r--Source/QtDialog/AddCacheEntry.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/QtDialog/AddCacheEntry.cxx b/Source/QtDialog/AddCacheEntry.cxx
index 1075895..7c34c60 100644
--- a/Source/QtDialog/AddCacheEntry.cxx
+++ b/Source/QtDialog/AddCacheEntry.cxx
@@ -2,6 +2,7 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "AddCacheEntry.h"
+#include "QCMakeSizeType.h"
#include <QCompleter>
#include <QMetaProperty>
@@ -88,7 +89,7 @@ QString AddCacheEntry::typeString() const
void AddCacheEntry::onCompletionActivated(const QString& text)
{
- int idx = this->VarNames.indexOf(text);
+ cm_qsizetype idx = this->VarNames.indexOf(text);
if (idx != -1) {
QString vartype = this->VarTypes[idx];
for (int i = 0; i < NumTypes; i++) {