Add printf attribute to log_err/DPRINTF and fix a few warnings

Modified to not use %z for portability reasons.
This commit is contained in:
Catalin Patulea
2014-03-14 00:36:30 -04:00
committed by Justin Maggard
parent 45cf9208fb
commit 3a57744735
11 changed files with 30 additions and 22 deletions

View File

@ -710,8 +710,8 @@ callback(void *args, int argc, char **argv, char **azColName)
if( str->data )
{
str->size += DEFAULT_RESP_SIZE;
DPRINTF(E_DEBUG, L_HTTP, "UPnP SOAP response enlarged to %d. [%d results so far]\n",
str->size, passed_args->returned);
DPRINTF(E_DEBUG, L_HTTP, "UPnP SOAP response enlarged to %lu. [%d results so far]\n",
(unsigned long)str->size, passed_args->returned);
}
else
{