diff options
author | Seungha Son <seungha.son@samsung.com> | 2017-04-20 09:04:35 +0900 |
---|---|---|
committer | Seungha Son <seungha.son@samsung.com> | 2017-04-20 09:05:44 +0900 |
commit | 3cfe5cc7a1c8572cc1726ee52d19aac7b5241c7c (patch) | |
tree | aef2ffb51ca751a1f6083c8fe3db4356d483278c /src/notification_noti.c | |
parent | 31e54c221056fd58724fbef59abcd16949f8cbd1 (diff) | |
download | notification-3cfe5cc7a1c8572cc1726ee52d19aac7b5241c7c.tar.gz notification-3cfe5cc7a1c8572cc1726ee52d19aac7b5241c7c.tar.bz2 notification-3cfe5cc7a1c8572cc1726ee52d19aac7b5241c7c.zip |
Fix build warnings
Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I08c876587319855593b986720af086d2ac3c0680
Diffstat (limited to 'src/notification_noti.c')
-rwxr-xr-x | src/notification_noti.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/notification_noti.c b/src/notification_noti.c index d9871f1..2ae5321 100755 --- a/src/notification_noti.c +++ b/src/notification_noti.c @@ -22,6 +22,7 @@ #include <pkgmgr-info.h> #include <package_manager.h> #include <app_control_internal.h> +#include <bundle_internal.h> #include <notification.h> #include <notification_internal.h> @@ -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) |