summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorGrzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com>2014-04-04 09:31:59 +0200
committerSzymon Janc <szymon.janc@tieto.com>2014-04-04 10:26:50 +0200
commit01a54fffdb3349ab66f7e78b8fbc84d7ea166e08 (patch)
treec05b2000b01eba07dc4004e9e8893fec95d4af94 /android
parent3c19fa1ca9e9c4006f610e95b6a8d939f4cbf894 (diff)
downloadbluez-01a54fffdb3349ab66f7e78b8fbc84d7ea166e08.tar.gz
android/gatt: Remove useless variable cast
This patch removes useless uint8_t array to bdaddr_t cast. android2bdaddr function expects const void *buf as first parametr.
Diffstat (limited to 'android')
-rw-r--r--android/gatt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/gatt.c b/android/gatt.c
index 68e211265..473929d47 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -2233,7 +2233,7 @@ static void handle_client_register_for_notification(const void *buf,
goto failed;
}
- android2bdaddr((bdaddr_t *)&cmd->bdaddr, &addr);
+ android2bdaddr(&cmd->bdaddr, &addr);
dev = queue_find(conn_list, match_dev_by_bdaddr, &addr);
if (!dev) {