thermal: Add explicit type casting for string output 84/195284/3
authorDongwoo Lee <dwoo08.lee@samsung.com>
Wed, 12 Dec 2018 07:39:25 +0000 (16:39 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 13 Dec 2018 02:10:21 +0000 (02:10 +0000)
Change-Id: Ide6cf245737097dc9907943a5b9c04ed1de8b4b7
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
src/thermal/thermal.c

index 2bab82d636cab4d54c7268c4695400afe6fab6d7..a123ef9963e96f7d90e189bd4dd144b8f1e5b146 100644 (file)
@@ -221,7 +221,7 @@ static int thermal_notifier_cb(void *data, void *user_data)
 
        /* If there is no available thermal scenario, just return */
        if (i >= g_thermal->num) {
-               _I("Not supported \'%s\' scenario", data);
+               _I("Not supported \'%s\' scenario", (char*)data);
                return 0;
        }