From daaea0c84fee46d9b63b746d5ed2cdf66f990352 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 3 Aug 2015 09:28:41 +0200 Subject: 64bit: Fix compiler warnings in regard to 64bit vty_interface_layer3.c:584:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] sizeof(subscr->extension)-1, VTY_NEWLINE); --- openbsc/src/osmo-bsc_mgcp/mgcp_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/src/osmo-bsc_mgcp') diff --git a/openbsc/src/osmo-bsc_mgcp/mgcp_main.c b/openbsc/src/osmo-bsc_mgcp/mgcp_main.c index 5f703c290..1c03f27d4 100644 --- a/openbsc/src/osmo-bsc_mgcp/mgcp_main.c +++ b/openbsc/src/osmo-bsc_mgcp/mgcp_main.c @@ -156,7 +156,7 @@ static int read_call_agent(struct osmo_fd *fd, unsigned int what) return -1; } else if (slen > sizeof(addr)) { fprintf(stderr, "Gateway received message from outerspace: %zu %zu\n", - slen, sizeof(addr)); + (size_t) slen, sizeof(addr)); return -1; } -- cgit v1.2.3