summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmCreateTestSourceList.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCreateTestSourceList.cxx b/Source/cmCreateTestSourceList.cxx
index 87b4bde..1f7246e 100644
--- a/Source/cmCreateTestSourceList.cxx
+++ b/Source/cmCreateTestSourceList.cxx
@@ -125,7 +125,7 @@ bool cmCreateTestSourceList::InitialPass(std::vector<std::string> 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"