Fix incorrect variable type in ApiListener::ConfigUpdateObjectAPIHandler

refs #10355
This commit is contained in:
Gunnar Beutner 2015-10-15 09:26:58 +02:00
parent 21a2986635
commit f89877cd28
1 changed files with 1 additions and 1 deletions

View File

@ -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);