--- a/gplugin/tests/test-plugin-info.c Wed Jul 17 07:54:02 2019 -0500
+++ b/gplugin/tests/test-plugin-info.c Wed Jul 17 07:54:26 2019 -0500
@@ -51,7 +51,7 @@
/* make sure our arrarys are the same length */
- g_assert_cmpuint(g_strv_length(got), ==, g_strv_length(expected));
+ g_assert_cmpuint(g_strv_length(got), ==, g_strv_length((gchar **)expected)); /* now walk through until expected[i] is null comparing each entry */
for(i = 0; expected[i]; i++)
@@ -61,7 +61,7 @@
/* verify that the accessor returned the proper value as well */
- g_assert_cmpuint(g_strv_length(tmp), ==, g_strv_length(expected));
+ g_assert_cmpuint(g_strv_length(tmp), ==, g_strv_length((gchar **)expected)); for(i = 0; expected[i]; i++)
g_assert_cmpstr(tmp[i], ==, expected[i]);