curl: Fix wrong format specifier for macOS
> ../ext/curl/gstcurlhttpsrc.c:1331:11: error: format specifies type > unsigned long long' but the argument has type 'curl_off_t' (aka 'long') [-Werror,-Wformat] Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8974>
This commit is contained in:
parent
435b0799fc
commit
ebee431dac
@ -1325,10 +1325,9 @@ gst_curl_http_src_handle_response (GstCurlHttpSrc * src)
|
||||
"No Content-Length was specified in the response.");
|
||||
src->seekable = GSTCURL_SEEKABLE_FALSE;
|
||||
} else {
|
||||
/* Note that in the case of a range get, Content-Length is the number
|
||||
of bytes requested, not the total size of the resource */
|
||||
GST_INFO_OBJECT (src, "Content-Length was given as %" G_GUINT64_FORMAT,
|
||||
curl_info_offt);
|
||||
GST_INFO_OBJECT (src,
|
||||
"Content-Length was given as %" G_GOFFSET_FORMAT,
|
||||
(goffset) curl_info_offt);
|
||||
if (src->content_size == 0) {
|
||||
src->content_size = src->request_position + curl_info_offt;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user