From ba9c4ee2cbcfc2513e9e5a3973eac207115aadfd Mon Sep 17 00:00:00 2001 From: Marcel Krems Date: Mon, 24 Aug 2020 16:12:34 +0200 Subject: [PATCH] QXmlString::size(): Change return type to qsizetype Task-number: QTBUG-86224 Change-Id: I32baa08d2d116d7d81ba980d077f2e144a23b966 Reviewed-by: Thiago Macieira --- src/corelib/serialization/qxmlstream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/serialization/qxmlstream.h b/src/corelib/serialization/qxmlstream.h index 371a9780f9..519600143f 100644 --- a/src/corelib/serialization/qxmlstream.h +++ b/src/corelib/serialization/qxmlstream.h @@ -67,7 +67,7 @@ public: } inline operator QStringView() const { return QStringView(m_string.data(), m_string.size); } - inline int size() const { return m_string.size; } + inline qsizetype size() const { return m_string.size; } }; }