aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlaccessors_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmlaccessors_p.h')
-rw-r--r--src/qml/qml/qqmlaccessors_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlaccessors_p.h b/src/qml/qml/qqmlaccessors_p.h
index 7558ab3e35..5685869f73 100644
--- a/src/qml/qml/qqmlaccessors_p.h
+++ b/src/qml/qml/qqmlaccessors_p.h
@@ -142,7 +142,7 @@ QQmlAccessorProperties::Properties::property(const char *name)
if (count == 0)
return 0;
- unsigned int length = strlen(name);
+ const unsigned int length = (unsigned int)strlen(name);
Q_ASSERT(length);