projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee988d9
)
ortp_send.c: fix a gcc warning
author
Andre Noll
<maan@systemlinux.org>
Wed, 4 Jul 2007 14:41:01 +0000
(16:41 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Wed, 4 Jul 2007 14:41:01 +0000
(16:41 +0200)
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.
ortp_send.c
patch
|
blob
|
history
diff --git
a/ortp_send.c
b/ortp_send.c
index 0bccca98f8f844981dceb86a0b3e8fedc2cc425d..18b5edd345fe66c048ee1dc0f2eaa4911e617fbe 100644
(file)
--- 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;