diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-01-10 19:37:30 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-01-10 19:37:30 +0000 |
commit | 9c1b53cab4b0e72c17f6054877ed0e2fe83c5367 (patch) | |
tree | 5fa7148e89349c03cf597ea0e734db262bc278c8 /channels/chan_iax2.c | |
parent | 11e1780402816ca5aebd546c0297445348368b9b (diff) |
According to POSIX, the capital L modifier applies only to floating point types.
Fixes a crash on Solaris.
(closes issue #16572)
Reported by: crjw
Patches:
frame_changes.patch uploaded by crjw (license 963)
Plus several others found and fixed by me
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@239074 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_iax2.c')
-rw-r--r-- | channels/chan_iax2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 76abb11a7..94edc3e6d 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -1517,7 +1517,7 @@ static unsigned char compress_subclass(format_t subclass) for (x = 0; x < IAX_MAX_SHIFT; x++) { if (subclass & (1LL << x)) { if (power > -1) { - ast_log(LOG_WARNING, "Can't compress subclass %Ld\n", (long long) subclass); + ast_log(LOG_WARNING, "Can't compress subclass %lld\n", (long long) subclass); return 0; } else power = x; |