mirror of
https://github.com/reactos/CMake.git
synced 2025-01-22 03:16:03 +00:00
TestDriver: use for loop
This commit is contained in:
parent
60b68304f2
commit
3bb4a79826
@ -47,10 +47,8 @@ static char* lowercase(const char* string)
|
||||
return 0;
|
||||
}
|
||||
strncpy(new_string, string, stringSize);
|
||||
p = new_string;
|
||||
while (*p != 0) {
|
||||
for (p = new_string; *p != 0; ++p) {
|
||||
*p = CM_CAST(char, tolower(*p));
|
||||
++p;
|
||||
}
|
||||
return new_string;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user