diff --git a/AK/String.cpp b/AK/String.cpp index 2b63f042926..acd794006d8 100644 --- a/AK/String.cpp +++ b/AK/String.cpp @@ -310,7 +310,7 @@ bool String::equals_ignoring_ascii_case(StringView other) const ErrorOr String::repeated(String const& input, size_t count) { - if (Checked::multiplication_would_overflow(count, input.bytes().size())) + if (Checked::multiplication_would_overflow(count, input.bytes().size())) return Error::from_errno(EOVERFLOW); String result;