[asterisk-commits] file: branch group/pimp_my_sip r380164 - /team/group/pimp_my_sip/res/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Jan 27 08:37:01 CST 2013


Author: file
Date: Sun Jan 27 08:36:57 2013
New Revision: 380164

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=380164
Log:
Fix build issue on 32-bit.

Modified:
    team/group/pimp_my_sip/res/res_sip_logger.c

Modified: team/group/pimp_my_sip/res/res_sip_logger.c
URL: http://svnview.digium.com/svn/asterisk/team/group/pimp_my_sip/res/res_sip_logger.c?view=diff&rev=380164&r1=380163&r2=380164
==============================================================================
--- team/group/pimp_my_sip/res/res_sip_logger.c (original)
+++ team/group/pimp_my_sip/res/res_sip_logger.c Sun Jan 27 08:36:57 2013
@@ -32,9 +32,9 @@
 
 static pj_status_t logging_on_tx_msg(pjsip_tx_data *tdata)
 {
-	ast_verbose("<--- Transmitting SIP %s (%ld bytes) to %s:%s:%d --->\n%.*s\n",
+	ast_verbose("<--- Transmitting SIP %s (%d bytes) to %s:%s:%d --->\n%.*s\n",
 		    tdata->msg->type == PJSIP_REQUEST_MSG ? "request" : "response",
-		    (tdata->buf.cur - tdata->buf.start),
+		    (int) (tdata->buf.cur - tdata->buf.start),
 		    tdata->tp_info.transport->type_name,
 		    tdata->tp_info.dst_name,
 		    tdata->tp_info.dst_port,




More information about the asterisk-commits mailing list