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