aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/netif
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2012-08-02 20:25:36 +0200
committerPablo Neira Ayuso <pablo@gnumonks.org>2012-08-02 20:25:36 +0200
commit969db946d46f6d7d8cf378d2f7690b44428c0bba (patch)
treeb650fc6baefc4e3090be5bc8de8ace78b879d297 /include/osmocom/netif
parent52c7649e2379e3c8c9acafa7351fa6838532834a (diff)
osmux: osmux_get_payload returns uint8_t * instead void *
So we easily add offsets without any casting.
Diffstat (limited to 'include/osmocom/netif')
-rw-r--r--include/osmocom/netif/osmux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/netif/osmux.h b/include/osmocom/netif/osmux.h
index f4c7b45..3de5127 100644
--- a/include/osmocom/netif/osmux.h
+++ b/include/osmocom/netif/osmux.h
@@ -53,7 +53,7 @@ struct osmux_out_handle {
uint32_t rtp_timestamp;
};
-static inline void *osmux_get_payload(struct osmux_hdr *osmuxh)
+static inline uint8_t *osmux_get_payload(struct osmux_hdr *osmuxh)
{
return (uint8_t *)osmuxh + sizeof(struct osmux_hdr);
}