From: Seungha Son Date: Thu, 20 Apr 2017 00:04:35 +0000 (+0900) Subject: Fix build warnings X-Git-Tag: submit/tizen/20170421.005321~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3cfe5cc7a1c8572cc1726ee52d19aac7b5241c7c;p=platform%2Fcore%2Fapi%2Fnotification.git Fix build warnings Signed-off-by: Seungha Son Change-Id: I08c876587319855593b986720af086d2ac3c0680 --- diff --git a/src/notification_noti.c b/src/notification_noti.c index d9871f13..2ae53215 100755 --- a/src/notification_noti.c +++ b/src/notification_noti.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include @@ -353,7 +354,7 @@ static int _insertion_query_create(notification_h noti, char **query) for (i = 0; i <= NOTIFICATION_EVENT_TYPE_MAX; i++) { if (b_event_handler[i]) - bundle_free_encoded_rawdata(&b_event_handler[i]); + bundle_free_encoded_rawdata((bundle_raw **)&b_event_handler[i]); } if (b_text) @@ -534,7 +535,7 @@ static int _update_query_create(notification_h noti, char **query) for (i = 0; i <= NOTIFICATION_EVENT_TYPE_MAX; i++) { if (b_event_handler[i]) - bundle_free_encoded_rawdata(&b_event_handler[i]); + bundle_free_encoded_rawdata((bundle_raw **)&b_event_handler[i]); } if (b_text) @@ -2068,7 +2069,7 @@ static int _template_query_create(notification_h noti, char *template_name, char for (i = 0; i <= NOTIFICATION_EVENT_TYPE_MAX; i++) { if (b_event_handler[i]) - bundle_free_encoded_rawdata(&b_event_handler[i]); + bundle_free_encoded_rawdata((bundle_raw **)&b_event_handler[i]); } if (b_text)