aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2013-02-19 16:21:09 +0100
committerPablo Neira Ayuso <pablo@gnumonks.org>2013-02-19 16:21:09 +0100
commit1f43121ef0828e7296d08f0654d81f950a941319 (patch)
tree6e680dae4e0f1a49bd64e383237ca83b77f9a97a
parente0ae0d25c031ba6f5e634d0b09fa81422f201aeb (diff)
osmux: osmux-test-input: fix compilation warning
CC osmux-test-input.o osmux-test-input.c:85:2: warning: initialization from incompatible pointer type [enabled by default] osmux-test-input.c:85:2: warning: (near initialization for ‘h_input.deliver’) [enabled by default]
-rw-r--r--examples/osmux-test-input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/osmux-test-input.c b/examples/osmux-test-input.c
index 175633b..f560af6 100644
--- a/examples/osmux-test-input.c
+++ b/examples/osmux-test-input.c
@@ -69,7 +69,7 @@ static void amr_write(struct msgb *msg)
static struct osmo_dgram *conn;
static struct osmo_rtp_handle *rtp;
-static void osmux_deliver(struct msgb *batch_msg)
+static void osmux_deliver(struct msgb *batch_msg, void *data)
{
printf("sending batch (len=%d)\n", batch_msg->len);
osmo_dgram_send(conn, batch_msg);