summaryrefslogtreecommitdiff
path: root/tests/check/libs/rtphdrext.c
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2021-08-18 19:40:55 -0400
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2021-09-15 16:35:09 +0000
commitfd93c1ac197fc98ed896afab7414b91b383039d2 (patch)
tree486d21adea4de38a2315845eec325cedf902cbd2 /tests/check/libs/rtphdrext.c
parent98f2a84a289ed4d4cfac9bc5c73182a56eefa99c (diff)
downloadgstreamer-plugins-base-fd93c1ac197fc98ed896afab7414b91b383039d2.tar.gz
rtphdrext: Make write function return a signed value
Since the return value is documented to possibly be smaller than 0, then it needs to be signed. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1258>
Diffstat (limited to 'tests/check/libs/rtphdrext.c')
-rw-r--r--tests/check/libs/rtphdrext.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/check/libs/rtphdrext.c b/tests/check/libs/rtphdrext.c
index 5b2e67152..12464d222 100644
--- a/tests/check/libs/rtphdrext.c
+++ b/tests/check/libs/rtphdrext.c
@@ -35,7 +35,8 @@ GST_START_TEST (rtp_header_ext_write)
GstRTPHeaderExtension *dummy;
GstBuffer *buffer;
guint8 *data;
- gsize size, written;
+ gsize size;
+ gssize written;
dummy = rtp_dummy_hdr_ext_new ();
gst_rtp_header_extension_set_id (dummy, 1);