pad: Fix printf format when printing hook id

It's a gulong so we have to cast it to a guint64 when using it with
G_GUINT64_FORMAT.

Spotted by Vincent Penvern.
This commit is contained in:
Sebastian Dröge 2019-01-15 18:05:31 +02:00 committed by Sebastian Dröge
parent e0c9b04538
commit a143d9cb0c

View file

@ -1373,8 +1373,8 @@ cleanup_hook (GstPad * pad, GHook * hook)
GstPadProbeType type;
GST_DEBUG_OBJECT (pad,
"cleaning up hook %" G_GUINT64_FORMAT " with flags %08x", hook->hook_id,
hook->flags);
"cleaning up hook %" G_GUINT64_FORMAT " with flags %08x",
(guint64) hook->hook_id, hook->flags);
if (!G_HOOK_IS_VALID (hook))
return;