]> git.ipfire.org Git - thirdparty/asterisk.git/commit
clang compiler warnings: Fix format specified in framehook
authorMatthew Jordan <mjordan@digium.com>
Mon, 6 Apr 2015 17:51:59 +0000 (17:51 +0000)
committerMatthew Jordan <mjordan@digium.com>
Mon, 6 Apr 2015 17:51:59 +0000 (17:51 +0000)
commit0437fd733096c4dd5e8221de3747db28fb9778e5
tree2f0df5b7f3daefdff387fd63666bf2777be14b75
parent695dcfbf8bdbaa4936310222ca6a57ac1fe7f5b2
clang compiler warnings: Fix format specified in framehook

This patch fixes an invalid format specifier used in the formatting of an
ERROR message in the framehook code. The format specifier specifies a
type of 'unsigned short', but the argument passed to it is of type 'int'.
The patch changes the format specifier to 'i'.

Review: https://reviewboard.asterisk.org/r/4540

ASTERISK-24917
Reported by: dkdegroot
patches:
  rb4535.patch submitted by dkdegroot (License 6600)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@434087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/framehook.c