From: Myungki Lee Date: Thu, 12 Oct 2017 04:47:28 +0000 (+0900) Subject: Fix build warning X-Git-Tag: submit/tizen_4.0/20171012.062508~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c92c28cbb4637165926a835970a823df84fd06fb;p=platform%2Fcore%2Fapi%2Fnotification.git Fix build warning - For dlog, need to type casting from gpointer to char * Change-Id: I0e6d6f93e081052f780a5ec1c9bc9b7e07b181a3 Signed-off-by: Myungki Lee --- diff --git a/src/notification_shared_file.c b/src/notification_shared_file.c index a00de13a..6010b688 100755 --- a/src/notification_shared_file.c +++ b/src/notification_shared_file.c @@ -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);