diff options
Diffstat (limited to 'libs/libjson/src/stdafx.cxx')
-rw-r--r-- | libs/libjson/src/stdafx.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/libjson/src/stdafx.cxx b/libs/libjson/src/stdafx.cxx index 324814bd86..d3822a7acb 100644 --- a/libs/libjson/src/stdafx.cxx +++ b/libs/libjson/src/stdafx.cxx @@ -28,9 +28,7 @@ LIBJSON_DLL(JSONNode&) operator<<(JSONNode &json, const INT_PARAM ¶m) LIBJSON_DLL(JSONNode&) operator<<(JSONNode &json, const INT64_PARAM ¶m)
{
- char tmp[100];
- _i64toa_s(param.iValue, tmp, _countof(tmp), 10);
- json.push_back(JSONNode(param.szName, tmp));
+ json.push_back(JSONNode(param.szName, param.iValue));
return json;
}
|