summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2011-05-04 15:29:42 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2011-05-04 15:30:41 +0100
commitd72f559d297a06bec892fa5a6bd4e43094f8dcf5 (patch)
treed9df40834d66f9584c068d79f411fe7007b5aeb6
parenta750aac2dd59453a875d19abf75d0203b217a77d (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.c6
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);
}