diff options
author | Brad King <brad.king@kitware.com> | 2011-05-23 19:57:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-05-23 19:57:41 (GMT) |
commit | 7ff98b7a8c097b3ffcc91289c38244c627c7e142 (patch) | |
tree | 0ed4fa68fbfb314619dcaf1d9637580d813d330e /DartConfig.cmake | |
parent | 3d92c8c82746636a85eca2f2d86f7714bde1465c (diff) | |
download | CMake-7ff98b7a8c097b3ffcc91289c38244c627c7e142.zip CMake-7ff98b7a8c097b3ffcc91289c38244c627c7e142.tar.gz CMake-7ff98b7a8c097b3ffcc91289c38244c627c7e142.tar.bz2 |
Fix forced-seed argument type in string(RANDOM)
Clang points out that local variable 'seed' needs to be "unsigned int":
Source/cmStringCommand.cxx:828:21: warning: operands of ? are integers
of different signs: 'int' and 'unsigned int' [-Wsign-compare]
srand(force_seed? seed : cmSystemTools::RandomSeed());
^ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'DartConfig.cmake')
0 files changed, 0 insertions, 0 deletions