diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2011-08-02 10:46:23 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-08-04 02:37:37 +0200 |
commit | 6aa16ad7728094f94f113aa9c12a4b135eb135f4 (patch) | |
tree | c05793f150d2dd470691756f9fcf1dae019faa3b /src | |
parent | b9fd1367ab71813e15a7b25733bd9fdb0ca6d7aa (diff) |
Typo
Change-Id: I8be86a999eed0cc028415027e888515377cd37ad
Reviewed-on: http://codereview.qt.nokia.com/2461
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/declarative/qml/qdeclarativecompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativecompiler.cpp b/src/declarative/qml/qdeclarativecompiler.cpp index 5018abeeaa..5b61421bda 100644 --- a/src/declarative/qml/qdeclarativecompiler.cpp +++ b/src/declarative/qml/qdeclarativecompiler.cpp @@ -467,7 +467,7 @@ void QDeclarativeCompiler::genLiteralAssignment(const QMetaProperty &prop, instr.storeDateTime.propertyIndex = prop.propertyIndex(); instr.storeDateTime.date = dateTime.date().toJulianDay(); Q_ASSERT(sizeof(instr.storeDateTime.time) == sizeof(QTime)); - ::memcmp(&instr.storeDateTime.time, &time, sizeof(QTime)); + ::memcpy(&instr.storeDateTime.time, &time, sizeof(QTime)); } break; #endif // QT_NO_DATESTRING |