david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[http] Fix size_t format specifiers

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2011-06-29 11:47:16 +01:00
parent 2988b26653
commit 00afad8122
1 changed files with 1 additions and 1 deletions

View File

@ -652,7 +652,7 @@ static void http_step ( struct http_request *http ) {
/* Determine type of request */
partial = ( http->partial_len != 0 );
snprintf ( range, sizeof ( range ), "%d-%d", http->partial_start,
snprintf ( range, sizeof ( range ), "%zd-%zd", http->partial_start,
( http->partial_start + http->partial_len - 1 ) );
/* Mark request as transmitted */