From f89877cd28a1deea389e8ba51357b9e09ccc55de Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 15 Oct 2015 09:26:58 +0200 Subject: [PATCH] Fix incorrect variable type in ApiListener::ConfigUpdateObjectAPIHandler refs #10355 --- lib/remote/apilistener-configsync.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/remote/apilistener-configsync.cpp b/lib/remote/apilistener-configsync.cpp index aa671f655..297b69279 100644 --- a/lib/remote/apilistener-configsync.cpp +++ b/lib/remote/apilistener-configsync.cpp @@ -102,7 +102,7 @@ Value ApiListener::ConfigUpdateObjectAPIHandler(const MessageOrigin::Ptr& origin } /* update the object */ - int objVersion = Convert::ToLong(params->Get("version")); + double objVersion = Convert::ToLong(params->Get("version")); ConfigType::Ptr dtype = ConfigType::GetByName(objType);