summaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc_mgcp
diff options
context:
space:
mode:
authorAlexander Huemer <alexander.huemer@xx.vu>2011-09-06 00:09:51 +0200
committerHarald Welte <laforge@gnumonks.org>2011-09-06 09:32:14 +0200
commitd02e68b24dff1bdc0691d4599306556875b84805 (patch)
treeb85a6fcf0b154e7cd7e93f13293f5953f7e85d57 /openbsc/src/osmo-bsc_mgcp
parente1d2e1c74c3027edf2bfb21f014f54ac89f5825b (diff)
fix fprintf format specifiers in osmo-bsc_mgcp
Diffstat (limited to 'openbsc/src/osmo-bsc_mgcp')
-rw-r--r--openbsc/src/osmo-bsc_mgcp/mgcp_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/osmo-bsc_mgcp/mgcp_main.c b/openbsc/src/osmo-bsc_mgcp/mgcp_main.c
index ee1543cdb..b334b06b7 100644
--- a/openbsc/src/osmo-bsc_mgcp/mgcp_main.c
+++ b/openbsc/src/osmo-bsc_mgcp/mgcp_main.c
@@ -156,8 +156,8 @@ static int read_call_agent(struct osmo_fd *fd, unsigned int what)
perror("Gateway failed to read");
return -1;
} else if (slen > sizeof(addr)) {
- fprintf(stderr, "Gateway received message from outerspace: %lu %d\n",
- slen, sizeof(addr));
+ fprintf(stderr, "Gateway received message from outerspace: %lu %lu\n",
+ (unsigned long int)slen, sizeof(addr));
return -1;
}