From 743e508b42c471bb4ec6f0071d53f04da5f20276 Mon Sep 17 00:00:00 2001 From: Lukasz Rymanowski Date: Tue, 13 Jan 2015 12:16:18 +0100 Subject: [PATCH] shared/gatt-client: Fix callback type in struct write_op Callback type in struct write_op should be bt_gatt_client_callback_t as that type is provided by user in bt_gatt_client_write_value() --- src/shared/gatt-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/gatt-client.c b/src/shared/gatt-client.c index 2c14c3a51..b7cf75781 100644 --- a/src/shared/gatt-client.c +++ b/src/shared/gatt-client.c @@ -2172,7 +2172,7 @@ unsigned int bt_gatt_client_write_without_response( } struct write_op { - bt_gatt_result_callback_t callback; + bt_gatt_client_callback_t callback; void *user_data; bt_gatt_destroy_func_t destroy; }; -- 2.47.3