[MPlayer-cvslog] r31933 - trunk/stream/http.c

diego subversion at mplayerhq.hu
Sat Aug 7 00:21:54 CEST 2010


Author: diego
Date: Sat Aug  7 00:21:53 2010
New Revision: 31933

Log:
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'

Modified:
   trunk/stream/http.c

Modified: trunk/stream/http.c
==============================================================================
--- trunk/stream/http.c	Fri Aug  6 23:13:41 2010	(r31932)
+++ trunk/stream/http.c	Sat Aug  7 00:21:53 2010	(r31933)
@@ -672,7 +672,7 @@ http_debug_hdr( HTTP_header_t *http_hdr 
 	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;


More information about the MPlayer-cvslog mailing list