From ffffb0a9adbe170c076a753afffc864f0c276946 Mon Sep 17 00:00:00 2001 From: Niclas Finne Date: Fri, 1 Dec 2017 18:37:26 +0100 Subject: [PATCH] Fixed compiler warning in CoAP logging --- os/net/app-layer/coap/coap-uip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/net/app-layer/coap/coap-uip.c b/os/net/app-layer/coap/coap-uip.c index 2468b6f47..f6f80fe46 100644 --- a/os/net/app-layer/coap/coap-uip.c +++ b/os/net/app-layer/coap/coap-uip.c @@ -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"); }