aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc_mgcp
diff options
context:
space:
mode:
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;
}