dtls: fix printf format on win32
authorPaul Arzelier <paul.arzelier@free.fr>
Fri, 2 Oct 2015 12:46:59 +0000 (14:46 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 5 Oct 2015 11:16:46 +0000 (12:16 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=755981

ext/dtls/gstdtlsenc.c

index b78ff4a..060f053 100644 (file)
@@ -483,8 +483,8 @@ sink_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
         map_info.size);
     if (ret != map_info.size) {
       GST_WARNING_OBJECT (self,
-          "error sending data: %d B were written, expected value was %zd B",
-          ret, map_info.size);
+          "error sending data: %d B were written, expected value was %"
+          G_GSIZE_FORMAT " B", ret, map_info.size);
     }
   }