[asterisk-commits] kmoore: branch 12 r415678 - /branches/12/main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jun 10 13:31:13 CDT 2014


Author: kmoore
Date: Tue Jun 10 13:31:08 2014
New Revision: 415678

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=415678
Log:
Fix build in dev mode due to signed/unsigned mismatch

Modified:
    branches/12/main/channel.c

Modified: branches/12/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/main/channel.c?view=diff&rev=415678&r1=415677&r2=415678
==============================================================================
--- branches/12/main/channel.c (original)
+++ branches/12/main/channel.c Tue Jun 10 13:31:08 2014
@@ -2596,7 +2596,7 @@
 /*! \brief Softly hangup a channel, don't lock */
 int ast_softhangup_nolock(struct ast_channel *chan, int cause)
 {
-	ast_debug(1, "Soft-Hanging (%#04x) up channel '%s'\n", cause, ast_channel_name(chan));
+	ast_debug(1, "Soft-Hanging (%#04x) up channel '%s'\n", (unsigned)cause, ast_channel_name(chan));
 	/* Inform channel driver that we need to be hung up, if it cares */
 	ast_channel_softhangup_internal_flag_add(chan, cause);
 	ast_queue_frame(chan, &ast_null_frame);




More information about the asterisk-commits mailing list