Commit 3bb4a798 authored by Daniel Pfeifer's avatar Daniel Pfeifer

TestDriver: use for loop

parent 60b68304
Pipeline #44093 passed with stage
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment