Commit 3e41e784 authored by Kouhei Sutou's avatar Kouhei Sutou Committed by Sebastian Dröge
Browse files

libs: Fix build error on MinGW where "%ll" is not available

"ll" isn't available on MinGW. We can use G_GINT64_MODIFIER for portable
64bit size data modifier.

https://bugzilla.gnome.org/show_bug.cgi?id=754630
parent 181845ec
...@@ -413,7 +413,7 @@ gst_video_dither_new (GstVideoDitherMethod method, GstVideoDitherFlags flags, ...@@ -413,7 +413,7 @@ gst_video_dither_new (GstVideoDitherMethod method, GstVideoDitherFlags flags,
} }
dither->orc_mask64 = GUINT64_FROM_BE (dither->orc_mask64); dither->orc_mask64 = GUINT64_FROM_BE (dither->orc_mask64);
dither->orc_mask32 = GUINT32_FROM_BE (dither->orc_mask32); dither->orc_mask32 = GUINT32_FROM_BE (dither->orc_mask32);
GST_DEBUG ("mask64 %08llx", (unsigned long long int) dither->orc_mask64); GST_DEBUG ("mask64 %08" G_GINT64_MODIFIER "x", (guint64) dither->orc_mask64);
GST_DEBUG ("mask32 %08x", dither->orc_mask32); GST_DEBUG ("mask32 %08x", dither->orc_mask32);
switch (method) { switch (method) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment