summaryrefslogtreecommitdiff
path: root/src/components/formatters/src/CFormatterJsonBase.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/formatters/src/CFormatterJsonBase.cc')
-rw-r--r--src/components/formatters/src/CFormatterJsonBase.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/formatters/src/CFormatterJsonBase.cc b/src/components/formatters/src/CFormatterJsonBase.cc
index 6dc3d28f16..e5354d5326 100644
--- a/src/components/formatters/src/CFormatterJsonBase.cc
+++ b/src/components/formatters/src/CFormatterJsonBase.cc
@@ -107,10 +107,10 @@ void ns_smart_device_link::ns_json_handler::formatters::CFormatterJsonBase::
item = obj.asBool();
} else if (ns_smart_device_link::ns_smart_objects::SmartType_Integer ==
obj.getType()) {
- item = utils::ConvertInt64ToLongLongInt(obj.asInt());
+ item = obj.asInt();
} else if (ns_smart_device_link::ns_smart_objects::SmartType_UInteger ==
obj.getType()) {
- item = utils::ConvertUInt64ToLongLongUInt(obj.asUInt());
+ item = obj.asUInt();
} else if (ns_smart_device_link::ns_smart_objects::SmartType_Double ==
obj.getType()) {
item = obj.asDouble();