From d74c8a3f4e1131ee9dbd9898d141789832802306 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 30 Aug 2016 17:38:09 +0200 Subject: Fix 32-bit build --- src/libutil/json.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/libutil/json.cc') 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; -- cgit 1.4.1