wininet: Fix warnings
authorBenjamin Otte <otte@redhat.com>
Tue, 23 Mar 2010 00:41:31 +0000 (01:41 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 23 Mar 2010 00:41:31 +0000 (01:41 +0100)
sys/wininet/gstwininetsrc.c

index 4f6d484..24b719c 100644 (file)
@@ -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 *