Fix build warnings 06/126006/1
authorSeungha Son <seungha.son@samsung.com>
Thu, 20 Apr 2017 00:04:35 +0000 (09:04 +0900)
committerSeungha Son <seungha.son@samsung.com>
Thu, 20 Apr 2017 00:05:44 +0000 (09:05 +0900)
Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I08c876587319855593b986720af086d2ac3c0680

src/notification_noti.c

index d9871f136c9ef24d438410d0df0a7806923abf24..2ae53215bb89841e12214c2c0cb1b8f37f4508f9 100755 (executable)
@@ -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)