rtp: fix another debug log printf format warning on 32-bit systems
authorTim-Philipp Müller <tim@centricular.com>
Tue, 27 Feb 2018 13:13:49 +0000 (13:13 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 27 Feb 2018 13:13:49 +0000 (13:13 +0000)
rtpulpfeccommon.c:432:27: error: format ‘%lx’ expects argument of type
‘long unsigned int’, but argument 10 has type ‘guint64 {aka long long unsigned int}’

https://bugzilla.gnome.org/show_bug.cgi?id=793732

gst/rtp/rtpulpfeccommon.c

index 9bca5df..44d2a6e 100644 (file)
@@ -430,7 +430,7 @@ rtp_ulpfec_log_fec_packet (GstDebugCategory * cat, GstDebugLevel level,
 
   fec_level_hdr = fec_hdr_get_level_hdr (fec_hdr);
   GST_CAT_LEVEL_LOG (cat, level, object,
-      "%-22s: protection_len=%u mask=0x%012lx",
+      "%-22s: protection_len=%u mask=0x%012" G_GINT64_MODIFIER "x",
       "fec level header",
       g_ntohs (fec_level_hdr->protection_len),
       fec_level_hdr_get_mask (fec_level_hdr, fec_hdr->L));