Commit c1869a11 authored by Max Kellermann's avatar Max Kellermann

input/curl: format Range offset as unsigned

parent e22a4fdb
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment