FIX: should compare to 0, not NULL
This commit is contained in:
parent
31413a216b
commit
dbe20d8d3b
@ -125,7 +125,7 @@ bool cmCreateTestSourceList::InitialPass(std::vector<std::string> const& argsIn)
|
|||||||
" }\n"
|
" }\n"
|
||||||
" strcpy(new_string, string);\n"
|
" strcpy(new_string, string);\n"
|
||||||
" char *p = new_string;\n"
|
" char *p = new_string;\n"
|
||||||
" while (*p != NULL)\n"
|
" while (*p != 0)\n"
|
||||||
" {\n"
|
" {\n"
|
||||||
" *p = tolower(*p);\n"
|
" *p = tolower(*p);\n"
|
||||||
" ++p;\n"
|
" ++p;\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user