From 4c9c14ef6dec05d198a2e3c26dfce15ff25ea8ba Mon Sep 17 00:00:00 2001 From: Andre Date: Sun, 26 Feb 2006 18:03:54 +0100 Subject: [PATCH] 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 --- Makefile.in | 2 +- ortp_send.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5