[svn-commits] russell: trunk r227462 - /trunk/channels/chan_mgcp.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Nov 3 16:05:34 CST 2009


Author: russell
Date: Tue Nov  3 16:05:31 2009
New Revision: 227462

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=227462
Log:
Resolve some dev-mode warnings.

Modified:
    trunk/channels/chan_mgcp.c

Modified: trunk/channels/chan_mgcp.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_mgcp.c?view=diff&rev=227462&r1=227461&r2=227462
==============================================================================
--- trunk/channels/chan_mgcp.c (original)
+++ trunk/channels/chan_mgcp.c Tue Nov  3 16:05:31 2009
@@ -1818,7 +1818,7 @@
 		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 @@
 		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 {




More information about the svn-commits mailing list