compiler warnings
This commit is contained in:
parent
e1d5c0c729
commit
13d4f89dfe
|
@ -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;
|
||||
|
|
|
@ -100,7 +100,7 @@ public:
|
|||
|
||||
///! Get the number of entries in the cache
|
||||
CM_EXPORT int GetSize() {
|
||||
return m_Cache.size(); }
|
||||
return static_cast<int>(m_Cache.size()); }
|
||||
|
||||
///! Break up a line like VAR:type="value" into var, type and value
|
||||
static bool ParseEntry(const char* entry,
|
||||
|
|
|
@ -193,7 +193,8 @@ cmVTKMakeInstantiatorCommand
|
|||
|
||||
// Actually generate the code in the file.
|
||||
this->OldGenerateCreationFile(fout.GetStream(),
|
||||
block*groupSize, thisBlockSize);
|
||||
block*groupSize,
|
||||
static_cast<int>(thisBlockSize));
|
||||
}
|
||||
|
||||
// Add the generated source file into the source list.
|
||||
|
|
Loading…
Reference in New Issue