]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Cast Integer Argument To Unsigned Char
authorMichael L. Young <elgueromexicano@gmail.com>
Wed, 2 Oct 2013 21:31:36 +0000 (21:31 +0000)
committerMichael L. Young <elgueromexicano@gmail.com>
Wed, 2 Oct 2013 21:31:36 +0000 (21:31 +0000)
commitb4e0f80ec0996cecca574e1d6bd7b11fdbffe40c
tree5bd411160d1bb518698227e1b7d3a45b33cd9066
parent093625b9fd517d56fb38b0d61142109bf48062d0
Cast Integer Argument To Unsigned Char

The member reg in the peercnt structure is an unsigned char and peercnt_modify()
is expecting an unsigned char argument which gets assigned to peercnt->reg.

This patch fixes that by casting the integer argument being passed to
peercnt_modify to unsigned char.
........

Merged revisions 400314 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@400315 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_iax2.c