Fix the build warning issue 21/78521/1 accepted/tizen/common/20160707.171158 accepted/tizen/ivi/20160706.082929 accepted/tizen/mobile/20160706.082851 accepted/tizen/tv/20160706.082846 accepted/tizen/wearable/20160706.082855 submit/tizen/20160706.051245
authorHyuk Lee <hyuk0512.lee@samsung.com>
Wed, 6 Jul 2016 02:17:08 +0000 (11:17 +0900)
committerHyuk Lee <hyuk0512.lee@samsung.com>
Wed, 6 Jul 2016 02:17:08 +0000 (11:17 +0900)
Change-Id: I74158fbfffd292b48609598dd73d899fafafbd32
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
bt-service/bt-service-pbap.c

index 46f5254..0b4dffe 100644 (file)
@@ -630,7 +630,7 @@ void __bt_pbap_get_vcard_list_cb(GDBusProxy *proxy,
        }
 
        BT_DBG("Address = %s", address_string);
-       GVariant *temp = g_variant_new_strv((const gchar*)vcard_list, length);
+       GVariant *temp = g_variant_new_strv((const gchar * const *)vcard_list, length);
        signal = g_variant_new("(isv)", result, address_string, temp);
 
        _bt_send_event(BT_PBAP_CLIENT_EVENT,
@@ -747,7 +747,7 @@ void __bt_pbap_search_phonebook_cb(GDBusProxy *proxy,
        BT_DBG("Address = %s", address_string);
 
        signal = g_variant_new("(is@as)", result, address_string,
-                       g_variant_new_strv((const gchar *)vcard_list, length));
+                       g_variant_new_strv((const gchar * const *)vcard_list, length));
 
        _bt_send_event(BT_PBAP_CLIENT_EVENT,
                                BLUETOOTH_PBAP_PHONEBOOK_SEARCH,