From: Benjamin Otte Date: Tue, 23 Mar 2010 00:41:31 +0000 (+0100) Subject: wininet: Fix warnings X-Git-Tag: 1.19.3~507^2~17274 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=be59e4d52e83443f6e2bf6da66d2c39353539366;p=platform%2Fupstream%2Fgstreamer.git wininet: Fix warnings --- diff --git a/sys/wininet/gstwininetsrc.c b/sys/wininet/gstwininetsrc.c index 4f6d484..24b719c 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 *