souphttpsrc: Fix incompatible type build warning
authorSeungha Yang <seungha.yang@navercorp.com>
Wed, 21 Aug 2019 15:18:51 +0000 (00:18 +0900)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 21 Aug 2019 18:05:29 +0000 (19:05 +0100)
gstsouphttpsrc.c(2191): warning C4133:
  '=': incompatible types - from 'guint (__cdecl *)(GType)' to 'GstURIType (__cdecl *)(GType)'

ext/soup/gstsouphttpsrc.c

index 1bedd4e..f06c923 100644 (file)
@@ -2148,7 +2148,7 @@ gst_soup_http_src_set_proxy (GstSoupHTTPSrc * src, const gchar * uri)
   return (src->proxy != NULL);
 }
 
-static guint
+static GstURIType
 gst_soup_http_src_uri_get_type (GType type)
 {
   return GST_URI_SRC;