From dbe20d8d3bb39cde24eccc87693a45626bdb1cee Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Fri, 29 Mar 2002 16:25:39 -0500 Subject: [PATCH] FIX: should compare to 0, not NULL --- Source/cmCreateTestSourceList.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmCreateTestSourceList.cxx b/Source/cmCreateTestSourceList.cxx index 87b4bdea7..1f7246ef0 100644 --- a/Source/cmCreateTestSourceList.cxx +++ b/Source/cmCreateTestSourceList.cxx @@ -125,7 +125,7 @@ bool cmCreateTestSourceList::InitialPass(std::vector const& argsIn) " }\n" " strcpy(new_string, string);\n" " char *p = new_string;\n" - " while (*p != NULL)\n" + " while (*p != 0)\n" " {\n" " *p = tolower(*p);\n" " ++p;\n"