# HG changeset patch # User diego # Date 1281133313 0 # Node ID c680009d6779197cdbdfd44e8c878b528e0ac7c4 # Parent e64df5862ceabab5d840c67c884aafb137bc1a11 Add 'z' length modifier to %d printf format specifier for size_t argument. stream/http.c:675: warning: format '%d' expects type 'int', but argument 4 has type 'size_t' diff -r e64df5862cea -r c680009d6779 stream/http.c --- a/stream/http.c Fri Aug 06 21:13:41 2010 +0000 +++ b/stream/http.c Fri Aug 06 22:21:53 2010 +0000 @@ -672,7 +672,7 @@ mp_msg(MSGT_NETWORK,MSGL_V,"method: [%s]\n", http_hdr->method ); mp_msg(MSGT_NETWORK,MSGL_V,"status code: [%d]\n", http_hdr->status_code ); mp_msg(MSGT_NETWORK,MSGL_V,"reason phrase: [%s]\n", http_hdr->reason_phrase ); - mp_msg(MSGT_NETWORK,MSGL_V,"body size: [%d]\n", http_hdr->body_size ); + mp_msg(MSGT_NETWORK,MSGL_V,"body size: [%zd]\n", http_hdr->body_size ); mp_msg(MSGT_NETWORK,MSGL_V,"Fields:\n"); field = http_hdr->first_field;