summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebrn@axis.com>2012-07-06 20:37:06 +0200
committerArun Raghavan <arun.raghavan@collabora.co.uk>2012-07-21 20:26:57 +0530
commit955693fc36ac38dc604e1e616e1c441cc3c25e1c (patch)
treefd789bd6021afaa3c3ed4fccc5d6bae0baaec4eb
parent91e6767c5984b3ec3f3ff938a813eb5c1ca8a8b7 (diff)
downloadgstreamer-955693fc36ac38dc604e1e616e1c441cc3c25e1c.tar.gz
gststructure: Set lcopy string const exactly as glib's macro
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679534
-rw-r--r--gst/gststructure.c2
1 files changed, 1 insertions, 1 deletions
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; \
\