mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 02:45:35 +00:00
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:
parent
35300f8299
commit
c816ec4f0e
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue