diff options
Diffstat (limited to 'Source/cmCreateTestSourceList.cxx')
-rw-r--r-- | Source/cmCreateTestSourceList.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCreateTestSourceList.cxx b/Source/cmCreateTestSourceList.cxx index 8de8865..cef2d46 100644 --- a/Source/cmCreateTestSourceList.cxx +++ b/Source/cmCreateTestSourceList.cxx @@ -199,7 +199,7 @@ bool cmCreateTestSourceList::InitialPass(std::vector<std::string> const& args) " new_string = (char *)malloc(sizeof(char) * (size_t)(strlen(string) + 1));\n" " if (!new_string)\n" " {\n" - " return NULL;\n" + " return 0;\n" " }\n" " strcpy(new_string, string);\n" " p = new_string;\n" |