mirror of
https://github.com/mirror/wget.git
synced 2025-01-28 05:10:35 +08:00
* src/http.c (test_parse_range_header): Fix constants
This commit is contained in:
parent
d6eead1794
commit
5fceab6cb9
@ -5121,8 +5121,10 @@ test_parse_range_header (void)
|
||||
{ "bytes 1-999/1000", 1, 999, 1000, true },
|
||||
{ "bytes 42-1233/1234", 42, 1233, 1234, true },
|
||||
{ "bytes 42-1233/*", 42, 1233, -1, true },
|
||||
{ "bytes 0-2147483648/2147483649", 0, 2147483648, 2147483649, true },
|
||||
{ "bytes 2147483648-4294967296/4294967297", 2147483648, 4294967296, 4294967297, true }
|
||||
{ "bytes 0-2147483648/2147483649", 0, 2147483648U, 2147483649U, true },
|
||||
#if SIZEOF_WGINT >= 8
|
||||
{ "bytes 2147483648-4294967296/4294967297", 2147483648U, 4294967296ULL, 4294967297ULL, true },
|
||||
#endif
|
||||
};
|
||||
|
||||
wgint firstbyteptr[sizeof(wgint)];
|
||||
|
Loading…
Reference in New Issue
Block a user