summaryrefslogtreecommitdiff
path: root/libs/libjson/src/stdafx.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libjson/src/stdafx.cxx')
-rw-r--r--libs/libjson/src/stdafx.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/libjson/src/stdafx.cxx b/libs/libjson/src/stdafx.cxx
index d4f920a7c3..a3f9c5951e 100644
--- a/libs/libjson/src/stdafx.cxx
+++ b/libs/libjson/src/stdafx.cxx
@@ -32,6 +32,13 @@ LIBJSON_DLL(JSONNode&) operator<<(JSONNode &json, const INT64_PARAM &param)
return json;
}
+LIBJSON_DLL(JSONNode&) operator<<(JSONNode &json, const SINT64_PARAM &param)
+{
+ char str[40];
+ _i64toa(param.iValue, str, 10);
+ return json << CHAR_PARAM(param.szName, str);
+}
+
LIBJSON_DLL(JSONNode&) operator<<(JSONNode &json, const BOOL_PARAM &param)
{
json.push_back(JSONNode(param.szName, param.bValue));