diff options
-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); } } |