diff options
Diffstat (limited to 'src/tests/testdir.cpp')
| -rw-r--r-- | src/tests/testdir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/testdir.cpp b/src/tests/testdir.cpp index c05752171..5d75a5343 100644 --- a/src/tests/testdir.cpp +++ b/src/tests/testdir.cpp @@ -36,7 +36,7 @@ static void setTimeStamp(const QString& path, const QDateTime& mtime) utime(QFile::encodeName(path), &utbuf); #elif defined(Q_OS_WIN) struct _utimbuf utbuf; - utbuf.actime = mtime.toTime_t(); + utbuf.actime = mtime.toSecsSinceEpoch(); utbuf.modtime = utbuf.actime; _wutime(reinterpret_cast<const wchar_t *>(path.utf16()), &utbuf); #endif |
