summaryrefslogtreecommitdiff
path: root/ext/libmms
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-22 13:16:33 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-22 13:16:33 +0100
commit33c2f5fb01b1cb9145751a745cfa2514421fa7b3 (patch)
treef8c0318f6d50928ee96ed1e8663a0c0c5fce7d3e /ext/libmms
parent010789159d7bf274e11f0b4bec5c66543ad1220f (diff)
downloadgstreamer-plugins-bad-33c2f5fb01b1cb9145751a745cfa2514421fa7b3.tar.gz
Add -Wwrite-strings
and fix its warnings
Diffstat (limited to 'ext/libmms')
-rw-r--r--ext/libmms/gstmms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/libmms/gstmms.c b/ext/libmms/gstmms.c
index cbaa8e799..86df5ee94 100644
--- a/ext/libmms/gstmms.c
+++ b/ext/libmms/gstmms.c
@@ -561,9 +561,9 @@ gst_mms_uri_get_type (void)
static gchar **
gst_mms_uri_get_protocols (void)
{
- static gchar *protocols[] = { "mms", "mmsh", "mmst", "mmsu", NULL };
+ static const gchar *protocols[] = { "mms", "mmsh", "mmst", "mmsu", NULL };
- return protocols;
+ return (gchar **) protocols;
}
static const gchar *