diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-01-10 19:37:30 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-01-10 19:37:30 +0000 |
commit | 13b87f413fdf80c6ee92e9fc801866dd6c8b1db4 (patch) | |
tree | 5fa7148e89349c03cf597ea0e734db262bc278c8 /channels/chan_iax2.c | |
parent | 82a849a9d77a9a55460dd7a2f93c84473172218c (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: http://svn.digium.com/svn/asterisk/trunk@239074 f38db490-d61c-443f-a65b-d21fe96a405b
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; |