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.
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;