summaryrefslogtreecommitdiff
path: root/src/string_utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/string_utils.cc')
-rw-r--r--src/string_utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_utils.cc b/src/string_utils.cc
index f34bde03..0b0de19e 100644
--- a/src/string_utils.cc
+++ b/src/string_utils.cc
@@ -107,7 +107,7 @@ String replace(StringView str, StringView substr, StringView replacement)
break;
res += replacement;
- it = match + (int)substr.length();
+ it = match + substr.length();
}
return res;
}