mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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>
This commit is contained in:
parent
9539eecf20
commit
c79db43299
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ do_get (GioHttpServer * server, const HttpRequest * req, GOutputStream * out)
|
||||||
}
|
}
|
||||||
|
|
||||||
g_string_append (s, "\r\n");
|
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);
|
g_output_stream_write_all (out, s->str, s->len, &written, NULL, NULL);
|
||||||
fail_if (written != s->len);
|
fail_if (written != s->len);
|
||||||
g_string_free (s, TRUE);
|
g_string_free (s, TRUE);
|
||||||
|
|
Loading…
Reference in a new issue