BUG: Generate 0 into test driver instead of NULL.

This commit is contained in:
Brad King 2003-02-05 18:05:12 -05:00
parent ce3edc362f
commit 9676bb4b22
1 changed files with 1 additions and 1 deletions

View File

@ -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"