Fix build warning 67/155067/2
authorMyungki Lee <mk5004.lee@samsung.com>
Thu, 12 Oct 2017 04:47:28 +0000 (13:47 +0900)
committerMyungki Lee <mk5004.lee@samsung.com>
Thu, 12 Oct 2017 04:54:01 +0000 (13:54 +0900)
- For dlog, need type casting from gpointer to char *

Change-Id: I0e6d6f93e081052f780a5ec1c9bc9b7e07b181a3
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
src/notification_shared_file.c

index a00de13..6010b68 100755 (executable)
@@ -1162,7 +1162,8 @@ EXPORT_API void notification_remove_private_sharing(
        iter = req_data->shared_file_list;
        for (; iter != NULL; iter = g_list_next(iter)) {
                if (g_remove(((sharing_file_info_s *)(iter->data))->dst_path) != 0)
-                       NOTIFICATION_ERR("Failed [%s] [%d]", iter->data, errno);
+                       NOTIFICATION_ERR("Failed [%s] [%d]",
+                                       (const char *)iter->data, errno);
        }
 
        g_rmdir(req_data->dir);