diff options
author | Benjamin Otte <otte@redhat.com> | 2010-03-22 13:16:33 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-03-22 13:16:33 +0100 |
commit | 33c2f5fb01b1cb9145751a745cfa2514421fa7b3 (patch) | |
tree | f8c0318f6d50928ee96ed1e8663a0c0c5fce7d3e /ext/libmms | |
parent | 010789159d7bf274e11f0b4bec5c66543ad1220f (diff) | |
download | gstreamer-plugins-bad-33c2f5fb01b1cb9145751a745cfa2514421fa7b3.tar.gz |
Add -Wwrite-strings
and fix its warnings
Diffstat (limited to 'ext/libmms')
-rw-r--r-- | ext/libmms/gstmms.c | 4 |
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 * |