d2d-conv-manager: fix build warning 59/86459/1
authorHongkuk, Son <hongkuk.son@samsung.com>
Thu, 1 Sep 2016 08:36:50 +0000 (17:36 +0900)
committerHongkuk, Son <hongkuk.son@samsung.com>
Thu, 1 Sep 2016 08:37:53 +0000 (17:37 +0900)
const char *(macro) -> char *

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I3d37d6fd0fd19fc2c50051f442cfaffa6e1e2548

daemon/service_provider/RemoteAppControlServiceProvider.cpp

index 75887c8..f0468ae 100755 (executable)
@@ -537,7 +537,7 @@ int conv::RemoteAppControlServiceProvider::startRequest(Request* requestObj)
        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);
@@ -685,7 +685,7 @@ int conv::RemoteAppControlServiceProvider::publishRequest(Request* requestObj)
 
        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;