Mercurial > mplayer.hg
diff stream/http.c @ 31854:c680009d6779
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'
author | diego |
---|---|
date | Fri, 06 Aug 2010 22:21:53 +0000 |
parents | 9494acd724a9 |
children | 6c66a5ea013b |
line wrap: on
line diff
--- 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;