qtdemux: use G_GSIZE_FORMAT for platform independent gsize qualifier
authorEdward Hervey <bilboed@bilboed.com>
Tue, 12 Jan 2010 16:39:05 +0000 (17:39 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 12 Jan 2010 16:39:05 +0000 (17:39 +0100)
Fixes build on macosx

gst/qtdemux/qtdemux.c

index 899ddac..a6b5013 100644 (file)
@@ -4156,7 +4156,8 @@ qtdemux_stbl_init (GstQTDemux * qtdemux, QtDemuxStream * stream, GNode * stbl)
     return FALSE;
   }
 
-  GST_DEBUG_OBJECT (qtdemux, "allocating n_samples %u * %d = (%u MB)",
+  GST_DEBUG_OBJECT (qtdemux,
+      "allocating n_samples %u * %" G_GSIZE_FORMAT " = (%u MB)",
       stream->n_samples, sizeof (QtDemuxSample),
       (guint) (stream->n_samples * sizeof (QtDemuxSample)) >> 20);