Skip to content
Snippets Groups Projects
Commit d3b3b6d4 authored by Kristof Szabados's avatar Kristof Szabados
Browse files

mstrlen returns size_t


Signed-off-by: default avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 0feafaab
No related branches found
No related tags found
No related merge requests found
......@@ -133,7 +133,7 @@ void Mstring::removeWSfromBegin() {
}
void Mstring::removeWSfromEnd() {
int i = mstrlen(text);
size_t i = mstrlen(text);
for (; i > 0; --i)
if (!isspace((const unsigned char) text[i - 1])) break;
text = mtruncstr(text, i);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment