diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2002-03-29 21:25:39 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2002-03-29 21:25:39 (GMT) |
commit | dbe20d8d3bb39cde24eccc87693a45626bdb1cee (patch) | |
tree | 05f8dc2f15f7fe47d2e7422791c2f98fa924f425 | |
parent | 31413a216b8ee683a67b6c4bce2211773f385be4 (diff) | |
download | CMake-dbe20d8d3bb39cde24eccc87693a45626bdb1cee.zip CMake-dbe20d8d3bb39cde24eccc87693a45626bdb1cee.tar.gz CMake-dbe20d8d3bb39cde24eccc87693a45626bdb1cee.tar.bz2 |
FIX: should compare to 0, not NULL
-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 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" |