uri: match return type of get_uri_type() implementation to declaration
authorTim-Philipp Müller <tim@centricular.com>
Tue, 2 Jun 2015 19:32:35 +0000 (20:32 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 2 Jun 2015 19:32:35 +0000 (20:32 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=750292

gst/gsturi.c

index 3d78562..fd905cb 100644 (file)
@@ -724,11 +724,11 @@ gst_element_make_from_uri (const GstURIType type, const gchar * uri,
  * Returns: the #GstURIType of the URI handler.
  * Returns #GST_URI_UNKNOWN if the @handler isn't implemented correctly.
  */
-guint
+GstURIType
 gst_uri_handler_get_uri_type (GstURIHandler * handler)
 {
   GstURIHandlerInterface *iface;
-  guint ret;
+  GstURIType ret;
 
   g_return_val_if_fail (GST_IS_URI_HANDLER (handler), GST_URI_UNKNOWN);