input/curl: format Range offset as unsigned
This commit is contained in:
parent
e22a4fdba4
commit
c1869a11af
@ -398,7 +398,7 @@ CurlInputStream::SeekInternal(offset_type new_offset)
|
||||
/* send the "Range" header */
|
||||
|
||||
if (offset > 0) {
|
||||
sprintf(range, "%lld-", (long long)offset);
|
||||
sprintf(range, "%llu-", (unsigned long long)offset);
|
||||
request->SetOption(CURLOPT_RANGE, range);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user