From: Seungha Yang Date: Wed, 26 Jun 2019 10:53:51 +0000 (+0900) Subject: rtp: Fix incompatible type build warning X-Git-Tag: 1.19.3~507^2~3183 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=be25c988fd1c5069ca0b0f278ca5226e4ee17cd3;p=platform%2Fupstream%2Fgstreamer.git rtp: Fix incompatible type build warning 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 ... --- diff --git a/gst/rtp/gstrtpsink.c b/gst/rtp/gstrtpsink.c index 23b6df9..956ca53 100644 --- a/gst/rtp/gstrtpsink.c +++ b/gst/rtp/gstrtpsink.c @@ -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; diff --git a/gst/rtp/gstrtpsrc.c b/gst/rtp/gstrtpsrc.c index bf95860..844146d 100644 --- a/gst/rtp/gstrtpsrc.c +++ b/gst/rtp/gstrtpsrc.c @@ -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;