diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-08-30 10:37:36 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-08-30 10:38:00 (GMT) |
commit | 7ddd43183dadba9c42094540f3371dd38054bc12 (patch) | |
tree | 7f048ea2e1a75569eb5472c238389acfc768995e /Source/cmTimestamp.cxx | |
parent | 5cac887297e58efe9553d7aa2bca9139f84bf094 (diff) | |
parent | 190e3825d44d4f846d37e1ec7372f5829a5b6b3e (diff) | |
download | CMake-7ddd43183dadba9c42094540f3371dd38054bc12.zip CMake-7ddd43183dadba9c42094540f3371dd38054bc12.tar.gz CMake-7ddd43183dadba9c42094540f3371dd38054bc12.tar.bz2 |
Merge topic 'cstyle-casts'
190e3825 Replace C-style casts
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1176
Diffstat (limited to 'Source/cmTimestamp.cxx')
-rw-r--r-- | Source/cmTimestamp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTimestamp.cxx b/Source/cmTimestamp.cxx index 57c2b5a..4dea24c 100644 --- a/Source/cmTimestamp.cxx +++ b/Source/cmTimestamp.cxx @@ -55,7 +55,7 @@ std::string cmTimestamp::CreateTimestampFromTimeT(time_t timeT, struct tm timeStruct; memset(&timeStruct, 0, sizeof(timeStruct)); - struct tm* ptr = (struct tm*)nullptr; + struct tm* ptr = nullptr; if (utcFlag) { ptr = gmtime(&timeT); } else { |