From 955693fc36ac38dc604e1e616e1c441cc3c25e1c Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Fri, 6 Jul 2012 20:37:06 +0200 Subject: gststructure: Set lcopy string const exactly as glib's macro Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679534 --- gst/gststructure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gststructure.c b/gst/gststructure.c index 23c54b35f5..fe54305c14 100644 --- a/gst/gststructure.c +++ b/gst/gststructure.c @@ -2672,7 +2672,7 @@ G_STMT_START { \ guint _flags = (flags); \ GType _value_type = G_VALUE_TYPE (_value); \ GTypeValueTable *_vtable = g_type_value_table_peek (_value_type); \ - gchar *_lcopy_format = _vtable->lcopy_format; \ + const gchar *_lcopy_format = _vtable->lcopy_format; \ GTypeCValue _cvalues[G_VALUE_COLLECT_FORMAT_MAX_LENGTH] = { { 0, }, }; \ guint _n_values = 0; \ \ -- cgit v1.2.1