make header_len an integer
authorAndre <maan@p133.(none)>
Sun, 26 Feb 2006 17:03:54 +0000 (18:03 +0100)
committerAndre <maan@p133.(none)>
Sun, 26 Feb 2006 17:03:54 +0000 (18:03 +0100)
This fixes the following warning:

ortp_send.c:169: warning: pointer targets in passing argument 1 of 'af->get_header_info' differ in signedness

Makefile.in
ortp_send.c

index e9ad0a98cdad469079b6ec7516d23e69bacac94a..91fd3a140e947962aa2fb9cab03cd3938f9dd78f 100644 (file)
@@ -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))
 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)
        FEATURES GPL
 grutatxt_html := $(grutatxt:=.html)
 html_in := $(wildcard web/*.in.html)
index 1521b63d4031a853e9839aa617d3055241cb8cf0..94c979fcd7b8bcdf37ebc913e28ea1940a993cb6 100644 (file)
@@ -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;
 {
        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;
 
        int packet_type = ORTP_DATA, stream_type = af && af->get_header_info; /* header stream? */
        char *sendbuf, *header_buf = NULL;