]> git.ipfire.org Git - thirdparty/asterisk.git/commit
iostream: Fix ast_iostream_printf declaration.
authorCorey Farrell <git@cfware.com>
Sun, 19 Nov 2017 01:50:48 +0000 (20:50 -0500)
committerCorey Farrell <git@cfware.com>
Sun, 19 Nov 2017 01:50:48 +0000 (20:50 -0500)
commitb4862e463c9848edf1aea62b31852ace16523ad0
tree87d871cabf2193811de47970bc2599fa2fab9105
parent4181b6f3777655efa5f0523a8d2ab2b0e5e566fb
iostream: Fix ast_iostream_printf declaration.

This adds the printf attribute and changes 'fmt' from 'const void *' to
'const char *'.  This resolves a warning from some compiler for
vsnprintf needing a literal string for format.

Change-Id: I71c33a8262590042ee451e1146760c10bb22fb78
include/asterisk/iostream.h
main/iostream.c