iotcon_attributes_h attributes;
iotcon_attributes_create(&attributes);
- iotcon_attributes_add_str(attributes, CONV_JSON_REQUEST_TYPE, CONV_ACCESS_CONTROL_REQUEST);
+ iotcon_attributes_add_str(attributes, CONV_JSON_REQUEST_TYPE, (char *)CONV_ACCESS_CONTROL_REQUEST);
iotcon_attributes_add_str(attributes, CONV_JSON_DEVICE_NAME, (char*)svcInfo->deviceName.c_str());
iotcon_representation_set_attributes(representation, attributes);
iotcon_attributes_add_str(attributes, CONV_JSON_APP_CONTROL, appControl);
iotcon_attributes_add_int(attributes, CONV_JSON_REPLY, reply);
- iotcon_attributes_add_str(attributes, CONV_JSON_REQUEST_TYPE, CONV_LAUNCH_REQUEST);
+ iotcon_attributes_add_str(attributes, CONV_JSON_REQUEST_TYPE, (char *)CONV_LAUNCH_REQUEST);
delete[] appControl;