rtpvrawpay: fix warning on macosx
authorJosep Torra <n770galaxy@gmail.com>
Fri, 9 Oct 2009 10:01:10 +0000 (12:01 +0200)
committerJosep Torra <n770galaxy@gmail.com>
Fri, 9 Oct 2009 10:01:10 +0000 (12:01 +0200)
gst/rtp/gstrtpvrawpay.c

index 3a98ce7..29053d7 100644 (file)
@@ -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) {