From 4335479051f600c8739946b190b7b3dbd4b24d0a Mon Sep 17 00:00:00 2001 From: Jan Kneschke Date: Sat, 4 Jun 2005 14:27:17 +0000 Subject: [PATCH] handle ranges >2G correctly git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@363 152afb58-edef-0310-8abb-c4023f1b3aa9 --- src/response.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/response.c b/src/response.c index 86793a81..087f3385 100644 --- a/src/response.c +++ b/src/response.c @@ -280,7 +280,7 @@ static int http_response_parse_range(server *srv, connection *con) { for (s = con->request.http_range, error = 0; !error && *s && NULL != (minus = strchr(s, '-')); ) { char *err; - long la, le; + off_t la, le; if (s == minus) { /* - */