mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
tests: fix compiler warning in new miniobject test
gst/gstminiobject.c: In function ‘test_dup_null_mini_object’: gst/gstminiobject.c:459:7: warning: assignment from incompatible pointer type
This commit is contained in:
parent
a750aac2dd
commit
d72f559d29
1 changed files with 3 additions and 3 deletions
|
@ -450,14 +450,14 @@ GST_END_TEST;
|
|||
GST_START_TEST (test_dup_null_mini_object)
|
||||
{
|
||||
GValue value = { 0, };
|
||||
GstBuffer *buf;
|
||||
GstMiniObject *mo;
|
||||
|
||||
g_value_init (&value, GST_TYPE_BUFFER);
|
||||
|
||||
gst_value_set_mini_object (&value, NULL);
|
||||
|
||||
buf = gst_value_dup_mini_object (&value);
|
||||
g_assert (buf == NULL);
|
||||
mo = gst_value_dup_mini_object (&value);
|
||||
g_assert (mo == NULL);
|
||||
|
||||
g_value_unset (&value);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue