summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2012-09-09 18:29:40 +0100
committerTim-Philipp Müller <tim@centricular.net>2012-09-09 18:29:40 +0100
commit202cd3c17c367dfb2be4939e61bb4ef6712a5e7a (patch)
tree1fe7dff622b1307cad9a92c32b3be43ed9a574a7 /tests
parent72edcd33b5c6c791a066248119572bc8ef6a6cb2 (diff)
install-plugins: constify _install_*sync() details array arguments
Diffstat (limited to 'tests')
-rw-r--r--tests/check/libs/pbutils.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/check/libs/pbutils.c b/tests/check/libs/pbutils.c
index 888be163e..e6c5face7 100644
--- a/tests/check/libs/pbutils.c
+++ b/tests/check/libs/pbutils.c
@@ -480,7 +480,7 @@ result_cb (GstInstallPluginsReturn result, gpointer user_data)
/* make sure our script gets called with the right parameters */
static void
-test_pb_utils_install_plugins_do_callout (gchar ** details,
+test_pb_utils_install_plugins_do_callout (const gchar * const *details,
GstInstallPluginsContext * ctx, const gchar * script,
GstInstallPluginsReturn expected_result)
{
@@ -548,9 +548,8 @@ GST_START_TEST (test_pb_utils_install_plugins)
{
GstInstallPluginsContext *ctx;
GstInstallPluginsReturn ret;
- gchar *details[] = { (char *) "detail1", (char *) "detail2", NULL };
- gchar *details_multi[] =
- { (char *) "detail1", (char *) "detail1", (char *) "detail2", NULL };
+ const gchar *details[] = { "detail1", "detail2", NULL };
+ const gchar *details_multi[] = { "detail1", "detail1", "detail2", NULL };
ctx = gst_install_plugins_context_new ();