diff options
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; |