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
This commit is contained in:
Tilghman Lesher
2010-01-10 19:37:30 +00:00
parent 11e1780402
commit 9c1b53cab4
3 changed files with 7 additions and 7 deletions

View File

@@ -558,7 +558,7 @@ static struct ast_channel *ooh323_request(const char *type, format_t format,
oldformat = format;
format &= AST_FORMAT_AUDIO_MASK;
if (!format) {
ast_log(LOG_NOTICE, "Asked to get a channel of unsupported format '%Ld'\n", (long long) format);
ast_log(LOG_NOTICE, "Asked to get a channel of unsupported format '%lld'\n", (long long) format);
return NULL;
}