diff options
author | Max Kellermann <max@musicpd.org> | 2017-02-21 12:06:03 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-03-01 16:44:08 +0100 |
commit | c1869a11affc427c6fca4d19008e89565a2210ed (patch) | |
tree | 7c8bfd8abf6ca82251e8782696557b1f266193de /src/input/plugins/CurlInputPlugin.cxx | |
parent | e22a4fdba4fe06e3595145d75b31a81c3ce22a23 (diff) |
input/curl: format Range offset as unsigned
Diffstat (limited to 'src/input/plugins/CurlInputPlugin.cxx')
-rw-r--r-- | src/input/plugins/CurlInputPlugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/plugins/CurlInputPlugin.cxx b/src/input/plugins/CurlInputPlugin.cxx index b972876a0..e9019d14f 100644 --- a/src/input/plugins/CurlInputPlugin.cxx +++ b/src/input/plugins/CurlInputPlugin.cxx @@ -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); } } |