summaryrefslogtreecommitdiff
path: root/ext/neon
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/neon
parent010789159d7bf274e11f0b4bec5c66543ad1220f (diff)
Add -Wwrite-strings
and fix its warnings
Diffstat (limited to 'ext/neon')
-rw-r--r--ext/neon/gstneonhttpsrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/neon/gstneonhttpsrc.c b/ext/neon/gstneonhttpsrc.c
index fd704f85b..653e21e4e 100644
--- a/ext/neon/gstneonhttpsrc.c
+++ b/ext/neon/gstneonhttpsrc.c
@@ -1026,8 +1026,8 @@ gst_neonhttp_src_uri_get_type (void)
static gchar **
gst_neonhttp_src_uri_get_protocols (void)
{
- static gchar *protocols[] = { "http", "https", NULL };
- return protocols;
+ static const gchar *protocols[] = { "http", "https", NULL };
+ return (gchar **) protocols;
}
static const gchar *