input/curl: format Range offset as unsigned
This commit is contained in:
parent
1d445d1039
commit
a8e76fb345
@ -400,7 +400,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