Commit a8e76fb3 authored by Max Kellermann's avatar Max Kellermann

input/curl: format Range offset as unsigned

parent 1d445d10
......@@ -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);
}
}
......
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