commit | bad8ffcc57ae61d1aec975a7aa4ca4333a71f67c | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Thu Jan 01 12:32:03 2015 +0100 |
committer | Harald Welte <laforge@gnumonks.org> | Thu Jan 01 12:32:03 2015 +0100 |
tree | 066ebdd55b1df8e83748c3133b0c8a5e952404b9 | |
parent | 5894daf026adce7890a497d82b726a1fe16df0ec [diff] [blame] |
Fix most compiler warnings with gcc-4.9.2
diff --git a/openbsc/src/libmgcp/mgcp_protocol.c b/openbsc/src/libmgcp/mgcp_protocol.c index 5df3577..f22dd20 100644 --- a/openbsc/src/libmgcp/mgcp_protocol.c +++ b/openbsc/src/libmgcp/mgcp_protocol.c
@@ -309,7 +309,7 @@ return len; buffer_too_small: - LOGP(DMGCP, LOGL_ERROR, "SDP buffer too small: %d (needed %d)\n", + LOGP(DMGCP, LOGL_ERROR, "SDP buffer too small: %zd (needed %d)\n", size, len); return -1; }