From 0723c860461033f6b509f77f30eb8befd7fdf014 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Thu, 11 Mar 2010 10:29:23 +0200 Subject: [PATCH] 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. --- tests/check/libs/typefindhelper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/check/libs/typefindhelper.c b/tests/check/libs/typefindhelper.c index d982838334..fceaca09d3 100644 --- a/tests/check/libs/typefindhelper.c +++ b/tests/check/libs/typefindhelper.c @@ -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);