]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix build in dev mode due to signed/unsigned mismatch
authorKinsey Moore <kmoore@digium.com>
Tue, 10 Jun 2014 18:31:08 +0000 (18:31 +0000)
committerKinsey Moore <kmoore@digium.com>
Tue, 10 Jun 2014 18:31:08 +0000 (18:31 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@415678 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index 319adf9df4ba10fb9c040058a8be3579ad80439c..20c15e0bbbd46aaa2dc925156cbe49a2ac5e053c 100644 (file)
@@ -2596,7 +2596,7 @@ void ast_channel_clear_softhangup(struct ast_channel *chan, int flag)
 /*! \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);