pulse: fix printf format in some debugging messages
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 8 Aug 2010 23:36:36 +0000 (00:36 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 8 Aug 2010 23:36:36 +0000 (00:36 +0100)
ext/pulse/pulsesink.c

index 3f6f7baaeb993a2efda12822c5e7b6786f21b1d3..a8d019cc8a590e84f633016e737fc3b827ec94e6 100644 (file)
@@ -1304,14 +1304,17 @@ gst_pulseringbuffer_commit (GstRingBuffer * buf, guint64 * sample,
             pbuf->m_writable);
       }
 
-      GST_LOG_OBJECT (psink, "requesting %u bytes of shared memory",
-          pbuf->m_writable);
+      GST_LOG_OBJECT (psink, "requesting %" G_GSIZE_FORMAT " bytes of "
+          "shared memory", pbuf->m_writable);
+
       if (pa_stream_begin_write (pbuf->stream, &pbuf->m_data,
               &pbuf->m_writable) < 0) {
         GST_LOG_OBJECT (psink, "pa_stream_begin_write() failed");
         goto writable_size_failed;
       }
-      GST_LOG_OBJECT (psink, "got %u bytes of shared memory", pbuf->m_writable);
+
+      GST_LOG_OBJECT (psink, "got %" G_GSIZE_FORMAT " bytes of shared memory",
+          pbuf->m_writable);
 
       /* Just to make sure that we didn't get more than requested */
       if (pbuf->m_writable > buf->spec.segsize) {