From 9676bb4b22687e1265adc13647c078991d3b4c85 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 5 Feb 2003 18:05:12 -0500 Subject: [PATCH] BUG: Generate 0 into test driver instead of NULL. --- Source/cmCreateTestSourceList.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmCreateTestSourceList.cxx b/Source/cmCreateTestSourceList.cxx index 8de88656c..cef2d46d9 100644 --- a/Source/cmCreateTestSourceList.cxx +++ b/Source/cmCreateTestSourceList.cxx @@ -199,7 +199,7 @@ bool cmCreateTestSourceList::InitialPass(std::vector 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"