]> 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:32:53 +0000 (21:32 +0000)
committerMichael L. Young <elgueromexicano@gmail.com>
Wed, 2 Oct 2013 21:32:53 +0000 (21:32 +0000)
commitf7416ca0af32bbaa89eba94210ad05fe9ca53447
tree94398935cb1d4aa4532697afd1a67b0f0b1bec74
parent1d5b70a564ca87ba7073dcb7fb9798b48ba24906
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
........

Merged revisions 400315 from http://svn.asterisk.org/svn/asterisk/branches/11

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