summaryrefslogtreecommitdiff
path: root/sys/wininet
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-23 01:41:31 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-23 01:41:31 +0100
commitbe59e4d52e83443f6e2bf6da66d2c39353539366 (patch)
tree852be020268d6f3058540ec8bf1371526afd0571 /sys/wininet
parentf8266ee03fa3add596e0ad898035ee9d80d117d1 (diff)
downloadgstreamer-plugins-bad-be59e4d52e83443f6e2bf6da66d2c39353539366.tar.gz
wininet: Fix warnings
Diffstat (limited to 'sys/wininet')
-rw-r--r--sys/wininet/gstwininetsrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/wininet/gstwininetsrc.c b/sys/wininet/gstwininetsrc.c
index 4f6d48433..24b719c40 100644
--- a/sys/wininet/gstwininetsrc.c
+++ b/sys/wininet/gstwininetsrc.c
@@ -403,9 +403,9 @@ gst_win_inet_src_uri_get_type (void)
static gchar **
gst_win_inet_src_uri_get_protocols (void)
{
- static gchar *protocols[] = { "http", "https", "ftp", NULL };
+ static const gchar *protocols[] = { "http", "https", "ftp", NULL };
- return protocols;
+ return (gchar **) protocols;
}
static G_CONST_RETURN gchar *