summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qeasingcurve.cpp
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-02-25 23:35:43 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-02-25 23:35:43 (GMT)
commit31c8459d65aaca9131a8aa32e29e0591ed7892cb (patch)
tree5339f4b4291c17a9a765a70990ec3c12f4055de7 /src/corelib/tools/qeasingcurve.cpp
parent5c82031a7357f4f3d100be30c0bfe4e878712829 (diff)
parent61811d9b43828c1cc53c773fd66b78313f4fb942 (diff)
downloadQt-31c8459d65aaca9131a8aa32e29e0591ed7892cb.zip
Qt-31c8459d65aaca9131a8aa32e29e0591ed7892cb.tar.gz
Qt-31c8459d65aaca9131a8aa32e29e0591ed7892cb.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qml
Conflicts: src/declarative/qml/qdeclarativeproperty.cpp
Diffstat (limited to 'src/corelib/tools/qeasingcurve.cpp')
-rw-r--r--src/corelib/tools/qeasingcurve.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qeasingcurve.cpp b/src/corelib/tools/qeasingcurve.cpp
index 89edb2d..64b4dca 100644
--- a/src/corelib/tools/qeasingcurve.cpp
+++ b/src/corelib/tools/qeasingcurve.cpp
@@ -861,7 +861,7 @@ QDebug operator<<(QDebug debug, const QEasingCurve &item)
QDataStream &operator<<(QDataStream &stream, const QEasingCurve &easing)
{
stream << easing.d_ptr->type;
- stream << quint64(intptr_t(easing.d_ptr->func));
+ stream << quint64(quintptr(easing.d_ptr->func));
bool hasConfig = easing.d_ptr->config;
stream << hasConfig;
@@ -893,7 +893,7 @@ QDataStream &operator>>(QDataStream &stream, QEasingCurve &easing)
quint64 ptr_func;
stream >> ptr_func;
- easing.d_ptr->func = QEasingCurve::EasingFunction(intptr_t(ptr_func));
+ easing.d_ptr->func = QEasingCurve::EasingFunction(quintptr(ptr_func));
bool hasConfig;
stream >> hasConfig;