diff options
author | Brad King <brad.king@kitware.com> | 2006-08-01 15:38:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-08-01 15:38:42 (GMT) |
commit | ab61137eb177d9606ad3fa47b6b08d22b9993279 (patch) | |
tree | ce57b66cd29b6dc1dab00d196eeeda84e8ef82a2 /Source/cmSetCommand.cxx | |
parent | 7776d18896bda01c743317dd45fd5c816e8f408a (diff) | |
download | CMake-ab61137eb177d9606ad3fa47b6b08d22b9993279.zip CMake-ab61137eb177d9606ad3fa47b6b08d22b9993279.tar.gz CMake-ab61137eb177d9606ad3fa47b6b08d22b9993279.tar.bz2 |
COMP: Fix and/or disable warnings for Borland 5.6 build.
Diffstat (limited to 'Source/cmSetCommand.cxx')
-rw-r--r-- | Source/cmSetCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSetCommand.cxx b/Source/cmSetCommand.cxx index c0bf6ce..ffa2ce0 100644 --- a/Source/cmSetCommand.cxx +++ b/Source/cmSetCommand.cxx @@ -92,7 +92,7 @@ bool cmSetCommand::InitialPass(std::vector<std::string> const& args) } // collect any values into a single semi-colon seperated value list - if(args.size() > + if(static_cast<unsigned short>(args.size()) > static_cast<unsigned short>(1 + (cache ? 3 : 0) + (force ? 1 : 0))) { value = args[1]; |