diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-08-23 19:13:49 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-08-23 19:13:49 (GMT) |
commit | 13d4f89dfe5bbe51fca76f945b4819a3ced1c888 (patch) | |
tree | af7b70c21bdb61058895629f1faa3e122561968a /Source/cmCPluginAPI.cxx | |
parent | e1d5c0c72908cb4b104e36702ab6007ab4111dc3 (diff) | |
download | CMake-13d4f89dfe5bbe51fca76f945b4819a3ced1c888.zip CMake-13d4f89dfe5bbe51fca76f945b4819a3ced1c888.tar.gz CMake-13d4f89dfe5bbe51fca76f945b4819a3ced1c888.tar.bz2 |
compiler warnings
Diffstat (limited to 'Source/cmCPluginAPI.cxx')
-rw-r--r-- | Source/cmCPluginAPI.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx index 6817266..dc5c9fd 100644 --- a/Source/cmCPluginAPI.cxx +++ b/Source/cmCPluginAPI.cxx @@ -306,7 +306,7 @@ void cmExpandSourceListArguments(void *arg, args2.push_back(args[i]); } mf->ExpandSourceListArguments(args2, result, startArgumentIndex); - int resargc = result.size(); + int resargc = static_cast<int>(result.size()); char **resargv = NULL; if (resargc) { @@ -341,7 +341,7 @@ int cmGetTotalArgumentSize(int argc, char **argv) { if (argv[i]) { - result = result + strlen(argv[i]); + result = result + static_cast<int>(strlen(argv[i])); } } return result; |