summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/osmocom/core/msgb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/core/msgb.h b/include/osmocom/core/msgb.h
index 9f4c444c..374ddbe3 100644
--- a/include/osmocom/core/msgb.h
+++ b/include/osmocom/core/msgb.h
@@ -513,14 +513,14 @@ static inline const char *msgb_hexdump_l2(const struct msgb *msg)
{
if (!msgb_l2(msg) || !(msgb_l2len(msg)))
return "[]";
- return osmo_hexdump(msgb_l2(msg), msgb_l2len(msg));
+ return osmo_hexdump((const unsigned char *) msgb_l2(msg), msgb_l2len(msg));
}
static inline const char *msgb_hexdump_l3(const struct msgb *msg)
{
if (!msgb_l3(msg) || !(msgb_l3len(msg)))
return "[]";
- return osmo_hexdump(msgb_l3(msg), msgb_l3len(msg));
+ return osmo_hexdump((const unsigned char*) msgb_l3(msg), msgb_l3len(msg));
}
/*! @} */