From fd6e6601e04f71e145989bddfb8168da2a9b462a Mon Sep 17 00:00:00 2001 From: Emil Gydesen Date: Wed, 14 Dec 2022 21:54:00 +0100 Subject: [PATCH] Bluetooth: Audio: Fix logging of object ID in mcc.c mcc.c used 0x%016x, but for some platforms we need to be more explicit and use 0x%016llx to avoid compile warnings. Signed-off-by: Emil Gydesen --- subsys/bluetooth/audio/mcc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subsys/bluetooth/audio/mcc.c b/subsys/bluetooth/audio/mcc.c index 838163ac227..a81061ea4a6 100644 --- a/subsys/bluetooth/audio/mcc.c +++ b/subsys/bluetooth/audio/mcc.c @@ -2305,7 +2305,7 @@ int bt_mcc_set_current_track_obj_id(struct bt_conn *conn, uint64_t obj_id) } CHECKIF(obj_id < BT_OTS_OBJ_ID_MIN || obj_id > BT_OTS_OBJ_ID_MAX) { - LOG_DBG("Object ID 0x%016x invalid", obj_id); + LOG_DBG("Object ID 0x%016llx invalid", obj_id); return -EINVAL; } @@ -2390,7 +2390,7 @@ int bt_mcc_set_next_track_obj_id(struct bt_conn *conn, uint64_t obj_id) } CHECKIF(obj_id < BT_OTS_OBJ_ID_MIN || obj_id > BT_OTS_OBJ_ID_MAX) { - LOG_DBG("Object ID 0x%016x invalid", obj_id); + LOG_DBG("Object ID 0x%016llx invalid", obj_id); return -EINVAL; } @@ -2513,7 +2513,7 @@ int bt_mcc_set_current_group_obj_id(struct bt_conn *conn, uint64_t obj_id) } CHECKIF(obj_id < BT_OTS_OBJ_ID_MIN || obj_id > BT_OTS_OBJ_ID_MAX) { - LOG_DBG("Object ID 0x%016x invalid", obj_id); + LOG_DBG("Object ID 0x%016llx invalid", obj_id); return -EINVAL; }