diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-05-04 15:29:42 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-05-04 15:30:41 +0100 |
commit | d72f559d297a06bec892fa5a6bd4e43094f8dcf5 (patch) | |
tree | d9df40834d66f9584c068d79f411fe7007b5aeb6 | |
parent | a750aac2dd59453a875d19abf75d0203b217a77d (diff) |
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
-rw-r--r-- | tests/check/gst/gstminiobject.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/check/gst/gstminiobject.c b/tests/check/gst/gstminiobject.c index 5c296dbf4..9b9c1cde9 100644 --- a/tests/check/gst/gstminiobject.c +++ b/tests/check/gst/gstminiobject.c @@ -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); } |