diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-02-19 16:48:17 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-02-19 16:48:17 +0100 |
commit | 4d54d0b883dcf85cd92290dd4cea51754c70b621 (patch) | |
tree | 63fd81471acfedc8e74b162b73882b9de6c351e3 /openbsc/src/mgcp/mgcp_main.c | |
parent | 5ec26fe98319a65760618f946b4f8c72ba72ff6f (diff) |
Fix various compiler warnings all over the code
Diffstat (limited to 'openbsc/src/mgcp/mgcp_main.c')
-rw-r--r-- | openbsc/src/mgcp/mgcp_main.c | 5 |
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; } |