diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2020-05-03 10:05:32 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2020-05-03 12:21:09 +0100 |
commit | c79db432992597c1c2984d47a6f899c74ec8bdc6 (patch) | |
tree | 368e2a3f30a178036d2d6149dfaef5d7464f5e6a /tests | |
parent | 9539eecf209652111552bbbf944ddbdb0943db90 (diff) | |
download | gstreamer-plugins-bad-c79db432992597c1c2984d47a6f899c74ec8bdc6.tar.gz |
tests: curlhttpsrc: fix compiler warning on raspbian
tests/check/elements/curlhttpsrc.c:142:14: warning: format ‘%lu’
expects argument of type ‘long unsigned int’, but argument 8 has
type ‘gsize’ {aka ‘unsigned int’}
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1239>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/elements/curlhttpsrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/elements/curlhttpsrc.c b/tests/check/elements/curlhttpsrc.c index 9c26cf2c3..d0901d5b2 100644 --- a/tests/check/elements/curlhttpsrc.c +++ b/tests/check/elements/curlhttpsrc.c @@ -139,7 +139,7 @@ do_get (GioHttpServer * server, const HttpRequest * req, GOutputStream * out) } g_string_append (s, "\r\n"); - GST_DEBUG ("Response headers: %lu\n%s\n********", s->len, s->str); + GST_DEBUG ("Response headers: %u\n%s\n********", (guint) s->len, s->str); g_output_stream_write_all (out, s->str, s->len, &written, NULL, NULL); fail_if (written != s->len); g_string_free (s, TRUE); |