Browse Source

[http] Fix size_t format specifiers

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 years ago
parent
commit
00afad8122
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/net/tcp/http.c

+ 1
- 1
src/net/tcp/http.c View File

652
 
652
 
653
 	/* Determine type of request */
653
 	/* Determine type of request */
654
 	partial = ( http->partial_len != 0 );
654
 	partial = ( http->partial_len != 0 );
655
-	snprintf ( range, sizeof ( range ), "%d-%d", http->partial_start,
655
+	snprintf ( range, sizeof ( range ), "%zd-%zd", http->partial_start,
656
 		   ( http->partial_start + http->partial_len - 1 ) );
656
 		   ( http->partial_start + http->partial_len - 1 ) );
657
 
657
 
658
 	/* Mark request as transmitted */
658
 	/* Mark request as transmitted */

Loading…
Cancel
Save