tests: cast the arg. to fix the build with new compiler opts.

This is ugly. I am not sure if we really want to have such casts all over the
place.
This commit is contained in:
Stefan Kost 2010-03-11 10:29:23 +02:00
parent 4ba031a7e2
commit 0723c86046

View file

@ -49,8 +49,8 @@ GST_START_TEST (test_buffer_range)
GstCaps *caps;
fail_unless (gst_type_find_register (NULL, "foo/x-bar",
GST_RANK_PRIMARY + 50, foobar_typefind, foobar_exts, FOOBAR_CAPS,
NULL, NULL));
GST_RANK_PRIMARY + 50, foobar_typefind, (gchar **) foobar_exts,
FOOBAR_CAPS, NULL, NULL));
buf = gst_buffer_new ();
fail_unless (buf != NULL);