1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-17 15:32:10 +08:00

ERR: Fixes for comeau compiler. NULL is a pointer of type void*, and cannot be compared directly with other pointer types. We use 0 instead.

This commit is contained in:
Brad King
2002-09-10 15:39:18 -04:00
parent 807b4ac47f
commit ce65c54d7a
2 changed files with 2 additions and 2 deletions

View File

@@ -312,7 +312,7 @@ void cmExpandSourceListArguments(void *arg,
}
mf->ExpandSourceListArguments(args2, result, startArgumentIndex);
int resargc = static_cast<int>(result.size());
char **resargv = NULL;
char **resargv = 0;
if (resargc)
{
resargv = (char **)malloc(resargc*sizeof(char *));