summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/tcp/http.c2
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 */