diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-02-09 10:32:03 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-02-09 10:28:13 +0000 |
commit | ebd2b0f405b34ab113a2611d9f79ae87a6b9fbd3 (patch) | |
tree | f2cc6f2de708718c6af61400e292cdda10c10070 /include/osmocom/core/signal.h | |
parent | 6590044337c1497393dd779f45c0b584f8027e3e (diff) |
osmo_msgbdump_{l2,l3}(): Proper typecast
This avoids compiler warnings like
/tmp/work/sysmobts_v2-poky-linux-gnueabi/osmo-pcu/0.4+gitAUTOINC+4c112dc5a6-r1.18/recipe-sysroot/usr/include/osmocom/core/msgb.h: In function 'const char* msgb_hexdump_l2(const msgb*)':
error: invalid conversion from 'void*' to 'const unsigned char*' [-fpermissive]
return osmo_hexdump(msgb_l2(msg), msgb_l2len(msg));
which we've been getting in osmo-pcu builds on some platforms.
Change-Id: I0ec652a1a569ec1507d8411cf1ef87afabcca799
Diffstat (limited to 'include/osmocom/core/signal.h')
0 files changed, 0 insertions, 0 deletions