Fix build warning 67/155067/1
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:49:37 +0000 (13:49 +0900)
- For dlog, need to type casting from gpointer to char *

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

index a00de13a31e366f974187a5a29d9c10ee0899b51..6010b6887a6a853e7c57663e32edb3951be90b76 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);