about summary refs log tree commit diff
path: root/src/libutil/json.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/json.cc')
-rw-r--r--src/libutil/json.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libutil/json.cc b/src/libutil/json.cc
index 619b1d631b9a..ecc3fdfe514e 100644
--- a/src/libutil/json.cc
+++ b/src/libutil/json.cc
@@ -29,6 +29,11 @@ void toJSON(std::ostream & str, const char * s)
     if (!s) str << "null"; else toJSON(str, s, s + strlen(s));
 }
 
+void toJSON(std::ostream & str, unsigned long long n)
+{
+    str << n;
+}
+
 void toJSON(std::ostream & str, unsigned long n)
 {
     str << n;