From: Andre Noll Date: Wed, 4 Jul 2007 14:41:01 +0000 (+0200) Subject: ortp_send.c: fix a gcc warning X-Git-Tag: v0.2.17~50 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=39e304a0adbeee8d606f3c003a338c93f48dd16b ortp_send.c: fix a gcc warning ortp_send.c:187: warning: passing argument 1 of 'vss_get_header' from incompatible pointer type because vss_get_header expects an unsigned and we were passing a size_t which is a different type e.g. for ppc. --- diff --git a/ortp_send.c b/ortp_send.c index 0bccca98..18b5edd3 100644 --- a/ortp_send.c +++ b/ortp_send.c @@ -159,7 +159,7 @@ static void ortp_send(long unsigned current_chunk, long unsigned chunks_sent, { struct ortp_target *ot, *tmp; size_t sendbuf_len; - size_t header_len = 0; + unsigned header_len = 0; int packet_type = ORTP_DATA; char *sendbuf, *header_buf = NULL; struct timeval *chunk_tv;