From: Andre Date: Sun, 26 Feb 2006 17:03:54 +0000 (+0100) Subject: make header_len an integer X-Git-Tag: v0.2.11~45 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=4c9c14ef6dec05d198a2e3c26dfce15ff25ea8ba;hp=38389139df0d6fd5a2c3c6845f7c2142521c3885 make header_len an integer This fixes the following warning: ortp_send.c:169: warning: pointer targets in passing argument 1 of 'af->get_header_info' differ in signedness --- diff --git a/Makefile.in b/Makefile.in index e9ad0a98..91fd3a14 100644 --- a/Makefile.in +++ b/Makefile.in @@ -66,7 +66,7 @@ gengetopts_c := $(gengetopts:.ggo=.cmdline.c) gengetopts_h := $(gengetopts:.ggo=.cmdline.h) all_c_files := $(wildcard *.c) c_sources := $(filter-out $(gengetopts_c), $(all_c_files)) -grutatxt := COPYING ChangeLog NEWS README.mysql CREDITS INSTALL README \ +grutatxt := COPYING NEWS README.mysql CREDITS INSTALL README \ FEATURES GPL grutatxt_html := $(grutatxt:=.html) html_in := $(wildcard web/*.in.html) diff --git a/ortp_send.c b/ortp_send.c index 1521b63d..94c979fc 100644 --- a/ortp_send.c +++ b/ortp_send.c @@ -146,7 +146,7 @@ static void ortp_send(struct audio_format *af, long unsigned current_chunk, { struct ortp_target *ot, *tmp; size_t sendbuf_len; - size_t header_len = 0; + int header_len = 0; int packet_type = ORTP_DATA, stream_type = af && af->get_header_info; /* header stream? */ char *sendbuf, *header_buf = NULL;