summaryrefslogtreecommitdiff
path: root/AK/LogStream.cpp
diff options
context:
space:
mode:
authorjoshua stein <jcs@jcs.org>2020-01-30 17:03:58 -0600
committerAndreas Kling <kling@serenityos.org>2020-02-05 18:39:45 +0100
commitdc93ed4368301058e5261c76b9226b4488b990c1 (patch)
tree2eec2db4069c030ade9f7390aa04041eec5a55fb /AK/LogStream.cpp
parentce567708751875fc6ab7dcb88636b842877198d3 (diff)
downloadserenity-dc93ed4368301058e5261c76b9226b4488b990c1.zip
AK: Add support for 64-bit size_t
Diffstat (limited to 'AK/LogStream.cpp')
-rw-r--r--AK/LogStream.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/AK/LogStream.cpp b/AK/LogStream.cpp
index 33e58c68b8..49bae1027c 100644
--- a/AK/LogStream.cpp
+++ b/AK/LogStream.cpp
@@ -62,6 +62,11 @@ const LogStream& operator<<(const LogStream& stream, u64 value)
return stream << String::number(value);
}
+const LogStream& operator<<(const LogStream& stream, unsigned long value)
+{
+ return stream << String::number(value);
+}
+
const LogStream& operator<<(const LogStream& stream, const void* value)
{
return stream << String::format("%p", value);