mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 14:14:45 +03:00
JsonParser: Oops, fix build.
This commit is contained in:
parent
cd235ce27d
commit
72b69b82bb
Notes:
sideshowbarker
2024-07-19 12:53:46 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/72b69b82bb5
@ -96,7 +96,7 @@ String JsonParser::consume_quoted_string()
|
||||
if (buffer.is_empty())
|
||||
return {};
|
||||
|
||||
auto& last_string_starting_with_character = m_last_string_starting_with_character[buffer.first()];
|
||||
auto& last_string_starting_with_character = m_last_string_starting_with_character[(int)buffer.first()];
|
||||
if (last_string_starting_with_character.length() == buffer.size()) {
|
||||
if (!memcmp(last_string_starting_with_character.characters(), buffer.data(), buffer.size()))
|
||||
return last_string_starting_with_character;
|
||||
|
Loading…
Reference in New Issue
Block a user