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:
Herman Berget 2023-05-09 11:05:02 +02:00 committed by Carles Cufí
parent 3e6bf0359b
commit 688f5baded

View File

@ -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);