taglib: use appropriate printf format for gsize
authorThijs Vermeir <thijsvermeir@gmail.com>
Tue, 18 Dec 2012 14:55:43 +0000 (15:55 +0100)
committerThijs Vermeir <thijsvermeir@gmail.com>
Tue, 18 Dec 2012 15:02:09 +0000 (16:02 +0100)
ext/taglib/gstid3v2mux.cc

index 96875fb..c345142 100644 (file)
@@ -386,7 +386,7 @@ add_id3v2frame_tag (ID3v2::Tag * id3v2tag, const GstTagList * list,
         GstMapInfo map;
 
         gst_buffer_map (buf, &map, GST_MAP_READ);
-        GST_DEBUG ("Injecting ID3v2.%u frame %u/%u of length %u and type %"
+        GST_DEBUG ("Injecting ID3v2.%u frame %u/%u of length %" G_GSIZE_FORMAT " and type %"
             GST_PTR_FORMAT, version, i, num_tags, map.size, s);
 
         frame = factory->createFrame (ByteVector ((const char *) map.data,
@@ -437,7 +437,7 @@ add_image_tag (ID3v2::Tag * id3v2tag, const GstTagList * list,
 
         gst_buffer_map (image, &map, GST_MAP_READ);
 
-        GST_DEBUG ("Attaching picture of %u bytes and mime type %s",
+        GST_DEBUG ("Attaching picture of %" G_GSIZE_FORMAT " bytes and mime type %s",
             map.size, mime_type);
 
         id3v2tag->addFrame (frame);
@@ -603,7 +603,7 @@ add_relative_volume_tag (ID3v2::Tag * id3v2tag, const GstTagList * list,
     frame->setIdentification ("album");
     GST_DEBUG ("adding album relative-volume frame");
   }
-  
+
   /* find the value for the paired tag (gain, if this is peak, and
    * vice versa).  if both tags exist, only write the frame when
    * we're processing the peak tag.