diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-11-03 22:05:31 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-11-03 22:05:31 +0000 |
commit | ffd1e88a5db9277d35268e46b0196a56b443acd2 (patch) | |
tree | 1bed624d9469b3794180cf333f2870b880a0f5e9 /channels | |
parent | 741c3d606f6a0d54b191040a022123b7f9dcd62c (diff) |
Resolve some dev-mode warnings.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@227462 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_mgcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index ecdc7c9e9..a03de42c3 100644 --- a/channels/chan_mgcp.c +++ b/channels/chan_mgcp.c @@ -1818,7 +1818,7 @@ static void parse(struct mgcp_request *req) if (*c == '\n') { /* We've got a new header */ *c = 0; - ast_debug(3, "Header: %s (%d)\n", req->header[f], strlen(req->header[f])); + ast_debug(3, "Header: %s (%d)\n", req->header[f], (int) strlen(req->header[f])); if (ast_strlen_zero(req->header[f])) { /* Line by itself means we're now in content */ c++; @@ -1847,7 +1847,7 @@ static void parse(struct mgcp_request *req) if (*c == '\n') { /* We've got a new line */ *c = 0; - ast_debug(3, "Line: %s (%d)\n", req->line[f], strlen(req->line[f])); + ast_debug(3, "Line: %s (%d)\n", req->line[f], (int) strlen(req->line[f])); if (f >= MGCP_MAX_LINES - 1) { ast_log(LOG_WARNING, "Too many SDP lines...\n"); } else { |