pad: Remove unneeded 64bit upcast in debug trace

The hook->hook_id is a gulong for which there are no portability issues
when tracing in printf format with %lu. So use %lu and remove the upcast
to 64 bit. This makes the code more consistent with everything else
tracing that hook_id and other gulong id.
This commit is contained in:
Nicolas Dufresne 2019-01-25 13:46:59 -05:00 committed by Nicolas Dufresne
parent 35300f8299
commit c816ec4f0e

View file

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