diff --git a/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp b/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp index a942165674f..5ac7b5fb518 100644 --- a/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp +++ b/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp @@ -1505,7 +1505,7 @@ void tst_QProperty::noDoubleCapture() return size.value(); }); auto bindingPriv = QPropertyBindingPrivate::get(max.binding()); - QCOMPARE(bindingPriv->dependencyObserverCount, 1); + QCOMPARE(bindingPriv->dependencyObserverCount, 1U); size = 4; // should not crash QCOMPARE(max.value(), 4); }