subparse: follow-up build fix after d871b1205 58/191758/3
authorPhilippe Normand <philn@igalia.com>
Sat, 12 May 2018 16:19:50 +0000 (17:19 +0100)
committereunhae choi <eunhae1.choi@samsung.com>
Tue, 23 Oct 2018 08:27:47 +0000 (08:27 +0000)
- this is from upstream

Change-Id: I3d463b2b511956961a5908bf82d816e6bc6cd652

gst/subparse/gstsubparse.c

index de274e9..0987585 100644 (file)
@@ -885,8 +885,8 @@ subrip_fix_up_markup (gchar ** p_txt, gconstpointer allowed_tags_ptr)
 
     s = g_string_new (*p_txt);
     while (num_open_tags > 0) {
-      GST_LOG ("adding missing closing tag '%s'", g_ptr_array_index (open_tags,
-              num_open_tags - 1));
+      GST_LOG ("adding missing closing tag '%s'",
+          (char *) g_ptr_array_index (open_tags, num_open_tags - 1));
       g_string_append_c (s, '<');
       g_string_append_c (s, '/');
       g_string_append (s, g_ptr_array_index (open_tags, num_open_tags - 1));