[gst-cvs] gst-plugins-good: rtpvrawpay: fix warning on macosx

Josep Torra adn770 at kemper.freedesktop.org
Fri Oct 9 03:29:15 PDT 2009


Module: gst-plugins-good
Branch: master
Commit: 863233abf5ceaec3435b83427f2ac06baa554670
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=863233abf5ceaec3435b83427f2ac06baa554670

Author: Josep Torra <n770galaxy at gmail.com>
Date:   Fri Oct  9 12:01:10 2009 +0200

rtpvrawpay: fix warning on macosx

---

 gst/rtp/gstrtpvrawpay.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/gst/rtp/gstrtpvrawpay.c b/gst/rtp/gstrtpvrawpay.c
index 3a98ce7..29053d7 100644
--- a/gst/rtp/gstrtpvrawpay.c
+++ b/gst/rtp/gstrtpvrawpay.c
@@ -502,7 +502,8 @@ gst_rtp_vraw_pay_handle_buffer (GstBaseRTPPayload * payload, GstBuffer * buffer)
       if (!cont)
         break;
     }
-    GST_LOG_OBJECT (rtpvrawpay, "consumed %d bytes", outdata - headers);
+    GST_LOG_OBJECT (rtpvrawpay, "consumed %d bytes",
+        (gint) (outdata - headers));
 
     /* second pass, read headers and write the data */
     while (TRUE) {





More information about the Gstreamer-commits mailing list