From 4479eac5ecd1d64e09b39d8451522da9f9b335cd Mon Sep 17 00:00:00 2001 From: Deokhyun Kim Date: Fri, 14 Jul 2017 18:59:19 +0900 Subject: [PATCH] Fix parameter order Fix parameter order should be according to prototype Change-Id: I34abaaaf56b9eed3123e6166886a3eb434cb9218 --- src/bluetooth-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bluetooth-common.c b/src/bluetooth-common.c index ca4f90b..478d7e9 100644 --- a/src/bluetooth-common.c +++ b/src/bluetooth-common.c @@ -2296,7 +2296,7 @@ static void __bt_event_proxy(int event, bluetooth_event_param_t *param, void *us /* TODO : Fix build error temporary */ if (chr->write_value_requested_cb) chr->write_value_requested_cb(NULL, 0, (bt_gatt_server_h)serv, (bt_gatt_h)chr, - 0, TRUE, (char*)char_val->char_value, char_val->val_len, + TRUE, 0, (char *)char_val->char_value, char_val->val_len, chr->write_value_requested_user_data); } } -- 2.34.1