Fixed compiler warning in CoAP logging

This commit is contained in:
Niclas Finne 2017-12-01 18:37:26 +01:00
parent c9d255b847
commit ffffb0a9ad

View File

@ -541,7 +541,7 @@ get_psk_info(struct dtls_context_t *ctx,
ks.identity_hint = id;
ks.identity_hint_len = id_len;
LOG_DBG("got psk_identity_hint: '");
LOG_DBG_COAP_STRING(id, id_len);
LOG_DBG_COAP_STRING((const char *)id, id_len);
LOG_DBG_("'\n");
}