rtp: Fix incompatible type build warning
authorSeungha Yang <seungha.yang@navercorp.com>
Wed, 26 Jun 2019 10:53:51 +0000 (19:53 +0900)
committerSeungha Yang <seungha.yang@navercorp.com>
Wed, 26 Jun 2019 10:56:09 +0000 (19:56 +0900)
Use GstURIType instead of guint

../subprojects/gst-plugins-bad/gst/rtp/gstrtpsink.c(575):
    warning C4133: '=': incompatible types ...

../subprojects/gst-plugins-bad/gst/rtp/gstrtpsrc.c(725):
    warning C4133: '=': incompatible types ...

gst/rtp/gstrtpsink.c
gst/rtp/gstrtpsrc.c

index 23b6df9..956ca53 100644 (file)
@@ -534,7 +534,7 @@ gst_rtp_sink_init (GstRtpSink * self)
   g_mutex_init (&self->lock);
 }
 
-static guint
+static GstURIType
 gst_rtp_sink_uri_get_type (GType type)
 {
   return GST_URI_SINK;
index bf95860..844146d 100644 (file)
@@ -684,7 +684,7 @@ gst_rtp_src_init (GstRtpSrc * self)
   g_mutex_init (&self->lock);
 }
 
-static guint
+static GstURIType
 gst_rtp_src_uri_get_type (GType type)
 {
   return GST_URI_SRC;