summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@codecoup.pl>2020-04-20 14:07:02 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-04-20 10:59:52 -0700
commitf8f2962334a6fd75a2ee9f48983d3898fcf85928 (patch)
treeaabca6662e057bfcae781efa03cab245aa549d83 /android
parentef0970a7235298237eda295e01045ae9660ae0da (diff)
downloadbluez-f8f2962334a6fd75a2ee9f48983d3898fcf85928.tar.gz
android: Fix build with GCC 10
status and state are used to hold various enum types depending on test and callback passed. Define them as int to avoid warnings about enum assignment from invalid type.
Diffstat (limited to 'android')
-rw-r--r--android/tester-main.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/tester-main.h b/android/tester-main.h
index 8a7384c57..6bdfdbcdb 100644
--- a/android/tester-main.h
+++ b/android/tester-main.h
@@ -653,8 +653,8 @@ struct map_inst_data {
* matching with expected step data.
*/
struct bt_callback_data {
- bt_state_t state;
- bt_status_t status;
+ int state;
+ int status;
int num_properties;
bt_property_t *properties;
bt_uuid_t *uuid;