diff options
author | Brad King <brad.king@kitware.com> | 2011-05-19 11:56:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-05-19 11:56:04 (GMT) |
commit | 3d92c8c82746636a85eca2f2d86f7714bde1465c (patch) | |
tree | 7f87595825df73a06642210752ce3252fda99ad6 /Source/cmStringCommand.cxx | |
parent | eb6f461fc1a383c19cc1be62663f682d1ac108ff (diff) | |
download | CMake-3d92c8c82746636a85eca2f2d86f7714bde1465c.zip CMake-3d92c8c82746636a85eca2f2d86f7714bde1465c.tar.gz CMake-3d92c8c82746636a85eca2f2d86f7714bde1465c.tar.bz2 |
Explicitly cast time value in cmSystemTools::RandomSeed
Use static_cast to avoid warnings like
conversion to ‘unsigned int’ from ‘__time_t’ may alter its value
conversion to ‘unsigned int’ from ‘__suseconds_t’ may alter its value
We do not care if the value is truncated because we are looking for just
32 bits anyway.
Diffstat (limited to 'Source/cmStringCommand.cxx')
0 files changed, 0 insertions, 0 deletions