summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWasm/Parser/Parser.cpp
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-07-22 01:30:24 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-22 08:57:01 +0200
commit36e36507d50fd9d36670a855eaeb8f2a58a35131 (patch)
tree39690ac3760ecf16cc81cd25470665122ac31a89 /Userland/Libraries/LibWasm/Parser/Parser.cpp
parent31f30e732a947cabdefcd3a7d3758fa5ff3601fa (diff)
downloadserenity-36e36507d50fd9d36670a855eaeb8f2a58a35131.zip
Everywhere: Prefer using {:#x} over 0x{:x}
We have a dedicated format specifier which adds the "0x" prefix, so let's use that instead of adding it manually.
Diffstat (limited to 'Userland/Libraries/LibWasm/Parser/Parser.cpp')
-rw-r--r--Userland/Libraries/LibWasm/Parser/Parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWasm/Parser/Parser.cpp b/Userland/Libraries/LibWasm/Parser/Parser.cpp
index b16ea72ada..0560c9e1d5 100644
--- a/Userland/Libraries/LibWasm/Parser/Parser.cpp
+++ b/Userland/Libraries/LibWasm/Parser/Parser.cpp
@@ -158,7 +158,7 @@ ParseResult<FunctionType> FunctionType::parse(InputStream& stream)
return with_eof_check(stream, ParseError::ExpectedKindTag);
if (tag != Constants::function_signature_tag) {
- dbgln("Expected 0x60, but found 0x{:x}", tag);
+ dbgln("Expected 0x60, but found {:#x}", tag);
return with_eof_check(stream, ParseError::InvalidTag);
}