Added changes in RamlParser and JsonSchemaParser to read property range for double...
[platform/upstream/iotivity.git] / service / simulator / src / common / request_model_builder.cpp
old mode 100644 (file)
new mode 100755 (executable)
index 9a20021..54006c3
@@ -142,7 +142,8 @@ SimulatorResourceModelSP RequestModelBuilder::createRepSchema(const RAML::Reques
                     repSchema->addAttribute(propertyEntry.second->getName(), propertyEntry.second->getValue<int>());
 
                     // Set the range
-                    int min, max, multipleof;
+                    double min, max;
+                    int multipleof;
                     propertyEntry.second->getRange(min, max, multipleof);
                     repSchema->setRange(propertyEntry.second->getName(), min, max);
                 }