diff options
| author | Michael Brown | 2011-06-29 12:47:16 +0200 |
|---|---|---|
| committer | Michael Brown | 2011-06-29 12:48:29 +0200 |
| commit | 00afad81229fcf24512e5fe9f139d03c587d6e72 (patch) | |
| tree | bd367af7030b14336101aa202784c931c4f98db3 /src/net/tcp | |
| parent | [http] Support read-only HTTP block devices (diff) | |
| download | ipxe-00afad81229fcf24512e5fe9f139d03c587d6e72.tar.gz ipxe-00afad81229fcf24512e5fe9f139d03c587d6e72.tar.xz ipxe-00afad81229fcf24512e5fe9f139d03c587d6e72.zip | |
[http] Fix size_t format specifiers
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/tcp')
| -rw-r--r-- | src/net/tcp/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tcp/http.c b/src/net/tcp/http.c index c4c1b628e..012b22683 100644 --- a/src/net/tcp/http.c +++ b/src/net/tcp/http.c @@ -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 */ |
