The dest_process parameter of resource_register_cpu_inheritance_destination() and
resource_unregister_cpu_inheritance_destination() was char* type.
This patch adds forced type conversions to convert to char* type.
Change-Id: I2dfa722e3a1397e19e483e0e3d5950c3758599ff
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
_print_hwc_log("%s(%d): END", __FUNCTION__, __LINE__);
ret = resource_register_cpu_inheritance_destination(
- LAUNCHPAD_PROCESS_NAME, resource_st);
+ (char*)LAUNCHPAD_PROCESS_NAME, resource_st);
if (ret != 0) {
_E("Failed to register cpu inheritance destination. error(%d)",
ret);
int ret;
ret = resource_unregister_cpu_inheritance_destination(
- LAUNCHPAD_PROCESS_NAME);
+ (char*)LAUNCHPAD_PROCESS_NAME);
if (ret != 0) {
_E("Failed to unregister cpu inheritance destination. "
"error(%d)", ret);