osmux: osmux_get_payload returns uint8_t * instead void *

So we easily add offsets without any casting.
This commit is contained in:
Pablo Neira Ayuso 2012-08-02 20:25:36 +02:00
parent 52c7649e23
commit 969db946d4
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}