aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/model/DataObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/model/DataObject.h')
-rw-r--r--src/core/model/DataObject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/model/DataObject.h b/src/core/model/DataObject.h
index 1713e8dd..a2b19413 100644
--- a/src/core/model/DataObject.h
+++ b/src/core/model/DataObject.h
@@ -65,7 +65,7 @@ class GPGFRONTEND_CORE_EXPORT DataObject {
if (sizeof...(Args) != GetObjectSize()) return false;
QContainer<std::type_info const*> type_list = {&typeid(Args)...};
- for (size_t i = 0; i < type_list.size(); ++i) {
+ for (qsizetype i = 0; i < static_cast<qsizetype>(type_list.size()); ++i) {
if (std::type_index(*type_list[i]) !=
std::type_index((*this)[i].type())) {
return false;