Bluetooth: Host: Fix warning from the logging subsystem
Cast `dhkey` to `void*` to avoid a warning from the logging subsystem: ``` <wrn> cbprintf_package: (unsigned) char * used for %p argument. It's recommended to cast it to void * because it may cause misbehavior in certain configurations ``` Signed-off-by: Herman Berget <herman.berget@nordicsemi.no>
This commit is contained in:
parent
3e6bf0359b
commit
688f5baded
@ -3449,7 +3449,7 @@ static struct bt_smp *smp_find(int flag)
|
||||
|
||||
static void bt_smp_dhkey_ready(const uint8_t *dhkey)
|
||||
{
|
||||
LOG_DBG("%p", dhkey);
|
||||
LOG_DBG("%p", (void *)dhkey);
|
||||
int err;
|
||||
|
||||
struct bt_smp *smp = smp_find(SMP_FLAG_DHKEY_GEN);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user