aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/mgcp
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-02-19 16:48:17 +0100
committerHarald Welte <laforge@gnumonks.org>2011-02-19 16:48:17 +0100
commit4d54d0b883dcf85cd92290dd4cea51754c70b621 (patch)
tree63fd81471acfedc8e74b162b73882b9de6c351e3 /openbsc/src/mgcp
parent5ec26fe98319a65760618f946b4f8c72ba72ff6f (diff)
Fix various compiler warnings all over the code
Diffstat (limited to 'openbsc/src/mgcp')
-rw-r--r--openbsc/src/mgcp/mgcp_main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/openbsc/src/mgcp/mgcp_main.c b/openbsc/src/mgcp/mgcp_main.c
index 20b9836e3..091d7bdc9 100644
--- a/openbsc/src/mgcp/mgcp_main.c
+++ b/openbsc/src/mgcp/mgcp_main.c
@@ -39,7 +39,8 @@
#include <osmocore/select.h>
#include <openbsc/mgcp.h>
#include <openbsc/mgcp_internal.h>
-#include <osmocom/vty//telnet_interface.h>
+#include <osmocom/vty/telnet_interface.h>
+#include <osmocom/vty/logging.h>
#include <openbsc/vty.h>
#include <osmocom/vty/command.h>
@@ -151,7 +152,7 @@ static int read_call_agent(struct bsc_fd *fd, unsigned int what)
perror("Gateway failed to read");
return -1;
} else if (slen > sizeof(addr)) {
- fprintf(stderr, "Gateway received message from outerspace: %d %d\n",
+ fprintf(stderr, "Gateway received message from outerspace: %lu %d\n",
slen, sizeof(addr));
return -1;
}