Skip to content

Commit

Permalink
[http] Fix size_t format specifiers
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Jun 29, 2011
1 parent 2988b26 commit 00afad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/tcp/http.c
Expand Up @@ -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 */
Expand Down

0 comments on commit 00afad8

Please sign in to comment.