summaryrefslogtreecommitdiff
path: root/src/input/plugins/CurlInputPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-02-21 12:06:03 +0100
committerMax Kellermann <max@musicpd.org>2017-03-01 16:44:08 +0100
commitc1869a11affc427c6fca4d19008e89565a2210ed (patch)
tree7c8bfd8abf6ca82251e8782696557b1f266193de /src/input/plugins/CurlInputPlugin.cxx
parente22a4fdba4fe06e3595145d75b31a81c3ce22a23 (diff)
input/curl: format Range offset as unsigned
Diffstat (limited to 'src/input/plugins/CurlInputPlugin.cxx')
-rw-r--r--src/input/plugins/CurlInputPlugin.cxx2
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);
}
}