diff options
| author | Brad King <brad.king@kitware.com> | 2025-02-23 14:56:59 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2025-02-26 13:14:56 (GMT) |
| commit | 74519e1c8316347dc20d8408765c6b2275fd15ba (patch) | |
| tree | 044a26b74463172cd7b29b42a9018ed93ea67d38 /Tests/RunCMake/FindPython/FindPythonScript.cmake | |
| parent | e185e7d7064f10969eabb4f80cc33674da454f9e (diff) | |
| download | CMake-74519e1c8316347dc20d8408765c6b2275fd15ba.zip CMake-74519e1c8316347dc20d8408765c6b2275fd15ba.tar.gz CMake-74519e1c8316347dc20d8408765c6b2275fd15ba.tar.bz2 | |
string(TIMESTAMP): Fix %s placeholder for year 2038 on Windows
`difftime` returns a `double`, so commit 6727270b75 (CMake: Extend
TIMESTAMP sub-commands with new unix time format specifier, 2016-02-16,
v3.6.0-rc1~338^2) cast it to `long` to get an integer result. However,
in the MSVC ABI, `long` is a 32-bit integer. Use an explicit 64-bit
integer type instead.
Fixes: #26716
Diffstat (limited to 'Tests/RunCMake/FindPython/FindPythonScript.cmake')
0 files changed, 0 insertions, 0 deletions
