mirror of
https://github.com/xcat2/xNBA.git
synced 2025-10-22 15:05:26 +00:00
[http] Fix size_t format specifiers
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user