diff options
-rw-r--r-- | src/osmux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmux.c b/src/osmux.c index 33ab7ad..ad04241 100644 --- a/src/osmux.c +++ b/src/osmux.c @@ -619,7 +619,7 @@ int osmux_snprintf(char *buf, size_t size, struct msgb *msg) int ret; unsigned int offset = 0; int msg_len = msg->len, len = size; - struct osmux_hdr *osmuxh = (struct osmux_hdr *)msg->data; + struct osmux_hdr *osmuxh; int this_len = 0; while (msg_len > 0) { |