Commit a143d9cb authored by Sebastian Dröge's avatar Sebastian Dröge 🍵 Committed by Sebastian Dröge

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.
parent e0c9b045
......@@ -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;
......
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