siproxd bug 3086593

The attached patch fixes the warning by using a more portable method of
printing size_t values.
This commit is contained in:
Thomas Ries
2010-10-13 22:43:53 +00:00
parent 878bcdff8b
commit 15d044f72b

View File

@@ -384,7 +384,7 @@ int main (int argc, char *argv[])
* got input, process
*/
buflen = (size_t)sts;
DEBUGC(DBCLASS_BABBLE,"received %i bytes of data", buflen);
DEBUGC(DBCLASS_BABBLE,"received %zd bytes of data", buflen);
ticket.direction=0;
buff[buflen]='\0';