wininet: Fix warnings

This commit is contained in:
Benjamin Otte 2010-03-23 01:41:31 +01:00
parent f8266ee03f
commit be59e4d52e

View file

@ -403,9 +403,9 @@ gst_win_inet_src_uri_get_type (void)
static gchar ** static gchar **
gst_win_inet_src_uri_get_protocols (void) 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 * static G_CONST_RETURN gchar *