summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qarraydata.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2014-02-28 13:13:16 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2014-02-28 13:14:15 +0100
commit846cc4c75cc06def67e831c8cb3c9edaef24f8f0 (patch)
treecf8cd76a5a610a6264583148b2c0549f7514dde3 /src/corelib/tools/qarraydata.h
parent9e4a215a2569a04010292c8718d0f0569bc06c12 (diff)
parent0d0fb04d505d105fb4b2fc71d68f729ce670b12e (diff)
Merge remote-tracking branch 'origin/stable' into dev
Conflicts: src/network/access/qhttpthreaddelegate.cpp Change-Id: Ia15372687c93cd585967b006c0baaac3a5f29e91
Diffstat (limited to 'src/corelib/tools/qarraydata.h')
-rw-r--r--src/corelib/tools/qarraydata.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qarraydata.h b/src/corelib/tools/qarraydata.h
index 90b5649f09..534f310d36 100644
--- a/src/corelib/tools/qarraydata.h
+++ b/src/corelib/tools/qarraydata.h
@@ -135,7 +135,7 @@ struct QTypedArrayData
public:
T *i;
typedef std::random_access_iterator_tag iterator_category;
- typedef qptrdiff difference_type;
+ typedef int difference_type;
typedef T value_type;
typedef T *pointer;
typedef T &reference;
@@ -169,7 +169,7 @@ struct QTypedArrayData
public:
const T *i;
typedef std::random_access_iterator_tag iterator_category;
- typedef qptrdiff difference_type;
+ typedef int difference_type;
typedef T value_type;
typedef const T *pointer;
typedef const T &reference;