summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qarraydataops.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/tools/qarraydataops.h')
-rw-r--r--src/corelib/tools/qarraydataops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qarraydataops.h b/src/corelib/tools/qarraydataops.h
index 7e07cdf5968..d28924bc636 100644
--- a/src/corelib/tools/qarraydataops.h
+++ b/src/corelib/tools/qarraydataops.h
@@ -84,7 +84,7 @@ public:
Q_ASSERT(newSize - this->size <= this->freeSpaceAtEnd());
T *where = this->end();
- this->size = qsizetype(newSize);
+ this->size = newSize;
const T *e = this->end();
while (where != e)
*where++ = T();