aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2009-12-20 17:07:23 +0100
committerHarald Welte <laforge@netfilter.org>2009-12-20 17:07:23 +0100
commit9fb1f1065a8dc5b0fd2cbaad9d438d57f1dd7ac2 (patch)
treeef1b1ec76d96c411a7daaa5b24ba7ec9417fef96
parenta03790232316edfc87de94012b110d8d8e2067f2 (diff)
fix compiler warning and coding style in rtp_proxy
-rw-r--r--openbsc/src/rtp_proxy.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/openbsc/src/rtp_proxy.c b/openbsc/src/rtp_proxy.c
index 02938125a..0f4e32799 100644
--- a/openbsc/src/rtp_proxy.c
+++ b/openbsc/src/rtp_proxy.c
@@ -666,9 +666,10 @@ int rtp_socket_proxy(struct rtp_socket *this, struct rtp_socket *other)
}
/* bind RTP/RTCP socket to application */
-int rtp_socket_upstream(struct rtp_socket *this, struct gsm_network *net, u_int32_t callref)
+int rtp_socket_upstream(struct rtp_socket *this, struct gsm_network *net,
+ u_int32_t callref)
{
- DEBUGP(DMUX, "rtp_socket_proxy(this=%p, callref=%lu)\n",
+ DEBUGP(DMUX, "rtp_socket_proxy(this=%p, callref=%u)\n",
this, callref);
if (callref) {