diff options
author | Jon Severinsson <jon@severinsson.net> | 2012-10-26 01:49:28 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-26 20:49:01 +0200 |
commit | 02dacc2c064339f557101db98bd40ace361e1bb6 (patch) | |
tree | b6d04a979ebbf6a97de5bfe433c7e7e0a831b3ce | |
parent | 5ca03eddd372c00714d11211caae4c7b7959cfd4 (diff) |
Change one int to qint64 in QDateTime::setMSecsSinceEpoch(qint64)
This one was missed when the QDate range was extended.
Change-Id: I0dbcc9fdebca88f7397203d8e539429dcff9ac30
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r-- | src/corelib/tools/qdatetime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qdatetime.cpp b/src/corelib/tools/qdatetime.cpp index 7d18e93dce..67dbbef9ad 100644 --- a/src/corelib/tools/qdatetime.cpp +++ b/src/corelib/tools/qdatetime.cpp @@ -2418,7 +2418,7 @@ void QDateTime::setMSecsSinceEpoch(qint64 msecs) QDateTimePrivate::Spec oldSpec = d->spec; - int ddays = msecs / MSECS_PER_DAY; + qint64 ddays = msecs / MSECS_PER_DAY; msecs %= MSECS_PER_DAY; if (msecs < 0) { // negative |