diff options
Diffstat (limited to 'AK/StringView.cpp')
-rw-r--r-- | AK/StringView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/StringView.cpp b/AK/StringView.cpp index 6f8af57d10..0dcd8e5b54 100644 --- a/AK/StringView.cpp +++ b/AK/StringView.cpp @@ -40,7 +40,7 @@ StringView::StringView(const String& string) StringView::StringView(const ByteBuffer& buffer) : m_characters((const char*)buffer.data()) - , m_length((size_t)buffer.size()) + , m_length(buffer.size()) { } |