From: DoHyun Pyun Date: Tue, 7 Mar 2017 07:43:55 +0000 (+0900) Subject: Fix the build error for Tizen 4.0 gcc62 toolchain X-Git-Tag: accepted/tizen/mobile/20170307.102445 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Faccepted%2Ftizen%2Fmobile%2F20170307.102445;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git Fix the build error for Tizen 4.0 gcc62 toolchain Change-Id: Ie7308d03fca3cc4771dca788ea659f11311d2a18 Signed-off-by: DoHyun Pyun --- diff --git a/bt-api/bt-gatt-client.c b/bt-api/bt-gatt-client.c index 5d3abdc..71e85c5 100644 --- a/bt-api/bt-gatt-client.c +++ b/bt-api/bt-gatt-client.c @@ -467,7 +467,7 @@ static void __bluetooth_internal_get_char_cb(GDBusProxy *proxy, g_variant_get(char_value, "ao", &char_iter); gp_array = g_ptr_array_new(); - while (g_variant_iter_loop(char_iter, "&o", &char_handle)); + while (g_variant_iter_loop(char_iter, "&o", &char_handle)) g_ptr_array_add(gp_array, (gpointer)char_handle); if (gp_array->len != 0) {