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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qarraydataops.h b/src/corelib/tools/qarraydataops.h
index bea585e69ab..a97f2da175c 100644
--- a/src/corelib/tools/qarraydataops.h
+++ b/src/corelib/tools/qarraydataops.h
@@ -690,7 +690,7 @@ struct QMovableArrayOps
struct Mover
{
- Mover(T *&start, const T *finish, int &sz)
+ Mover(T *&start, const T *finish, qsizetype &sz)
: destination(start)
, source(start)
, n(finish - start)
@@ -707,7 +707,7 @@ struct QMovableArrayOps
T *&destination;
const T *const source;
size_t n;
- int &size;
+ qsizetype &size;
} mover(e, this->end(), this->size);
// destroy the elements we're erasing