imdiag: fix datatype warning

This commit is contained in:
Rainer Gerhards 2016-06-01 15:00:47 +02:00
parent 529b664fe1
commit 876c962d3a

View File

@ -196,7 +196,7 @@ getFirstWord(uchar **ppszSrc, uchar *pszBuf, size_t lenBuf, int options)
* rgerhards, 2009-05-27
*/
static rsRetVal __attribute__((format(printf, 2, 3)))
sendResponse(tcps_sess_t *pSess, char *fmt, ...)
sendResponse(tcps_sess_t *pSess, const char *const __restrict__ fmt, ...)
{
va_list ap;
ssize_t len;