aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergio Martins <smartins@kde.org>2019-10-07 21:55:52 +0100
committerSergio Martins <smartins@kde.org>2019-10-07 21:56:24 +0100
commitc26ac08ba205c536620b25b93c980c8f723a6c12 (patch)
tree8cce913ad5f1f09e8dfa29bf06f486efd2dcc538 /src
parentcf04280bab651decbc3f608ac09dc07aafa6b402 (diff)
qproperty-type-mismatch: Fix build on Windows
MSVC doesn't know about 'uint'
Diffstat (limited to 'src')
-rw-r--r--src/checks/manuallevel/qproperty-type-mismatch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checks/manuallevel/qproperty-type-mismatch.cpp b/src/checks/manuallevel/qproperty-type-mismatch.cpp
index b9f45c3f..f91159cb 100644
--- a/src/checks/manuallevel/qproperty-type-mismatch.cpp
+++ b/src/checks/manuallevel/qproperty-type-mismatch.cpp
@@ -259,7 +259,7 @@ void QPropertyTypeMismatch::VisitMacroExpands(const clang::Token &MacroNameTok,
p.name = split[1];
// FIXME: This is getting hairy, better use regexps
- for (uint i = 0; i < p.name.size(); ++i) {
+ for (unsigned int i = 0; i < p.name.size(); ++i) {
if (p.name[i] == '*') {
p.type += '*';
} else {